
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void set_output_segment(Symbol * this, Output_segment * os,
   Segment_offset_base base) */

void __thiscall
gold::Symbol::set_output_segment(Symbol *this,Output_segment *os,Segment_offset_base base)

{
  if ((this->field_0x2c & 4) != 0) {
    this->field_0x2a = this->field_0x2a & 0xf8 | 2;
    (this->u1_).output_segment = os;
    (this->u2_).offset_base = base;
    return;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/symtab.cc",0x223,"set_output_segment");
}



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

void FUN_001777f0(int param_1,undefined4 param_2,undefined4 param_3)

{
  if ((*(byte *)(param_1 + 0x2c) & 4) != 0) {
    *(byte *)(param_1 + 0x2a) = *(byte *)(param_1 + 0x2a) & 0xf8 | 2;
    *(undefined4 *)(param_1 + 8) = param_2;
    *(undefined4 *)(param_1 + 0xc) = param_3;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/symtab.cc",0x223,"set_output_segment",param_1);
}


PUSH EBX
CALL 0x00035840
ADD EBX,0x21780a
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x10]
TEST byte ptr [EAX + 0x2c],0x4
JZ 0x00177829
MOVZX EDX,byte ptr [EAX + 0x2a]
AND EDX,0xfffffff8
OR EDX,0x2
MOV byte ptr [EAX + 0x2a],DL
MOV EDX,dword ptr [ESP + 0x14]
MOV dword ptr [EAX + 0x8],EDX
MOV EDX,dword ptr [ESP + 0x18]
MOV dword ptr [EAX + 0xc],EDX
ADD ESP,0x8
POP EBX
RET
PUSH EAX
LEA EAX,[EBX + 0xfff0b3d4]
PUSH EAX
LEA EAX,[EBX + 0xfff0a871]
PUSH 0x223
PUSH EAX
CALL 0x00069d00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_001777f0(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  if ((*(byte *)(param_1 + 0x2c) & 4) != 0) {\n    *(byte *)(param_1 + 0x2a) = *(byte *)(param_1 + 0x2a) & 0xf8 | 2;\n    *(undefined4 *)(param_1 + 8) = param_2;\n    *(undefined4 *)(param_1 + 0xc) = param_3;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/symtab.cc",0x223,"set_output_segment",param_1);\n}\n\n" comment (function_definition "void FUN_001777f0(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  if ((*(byte *)(param_1 + 0x2c) & 4) != 0) {\n    *(byte *)(param_1 + 0x2a) = *(byte *)(param_1 + 0x2a) & 0xf8 | 2;\n    *(undefined4 *)(param_1 + 8) = param_2;\n    *(undefined4 *)(param_1 + 0xc) = param_3;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/symtab.cc",0x223,"set_output_segment",param_1);\n}" primitive_type (function_declarator "FUN_001777f0(int param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  if ((*(byte *)(param_1 + 0x2c) & 4) != 0) {\n    *(byte *)(param_1 + 0x2a) = *(byte *)(param_1 + 0x2a) & 0xf8 | 2;\n    *(undefined4 *)(param_1 + 8) = param_2;\n    *(undefined4 *)(param_1 + 0xc) = param_3;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/symtab.cc",0x223,"set_output_segment",param_1);\n}" { (if_statement "if ((*(byte *)(param_1 + 0x2c) & 4) != 0) {\n    *(byte *)(param_1 + 0x2a) = *(byte *)(param_1 + 0x2a) & 0xf8 | 2;\n    *(undefined4 *)(param_1 + 8) = param_2;\n    *(undefined4 *)(param_1 + 0xc) = param_3;\n    return;\n  }" if (parenthesized_expression "((*(byte *)(param_1 + 0x2c) & 4) != 0)" ( (binary_expression "(*(byte *)(param_1 + 0x2c) & 4) != 0" (parenthesized_expression "(*(byte *)(param_1 + 0x2c) & 4)" ( (binary_expression "*(byte *)(param_1 + 0x2c) & 4" (pointer_expression "*(byte *)(param_1 + 0x2c)" * (cast_expression "(byte *)(param_1 + 0x2c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n    *(byte *)(param_1 + 0x2a) = *(byte *)(param_1 + 0x2a) & 0xf8 | 2;\n    *(undefined4 *)(param_1 + 8) = param_2;\n    *(undefined4 *)(param_1 + 0xc) = param_3;\n    return;\n  }" { (expression_statement "*(byte *)(param_1 + 0x2a) = *(byte *)(param_1 + 0x2a) & 0xf8 | 2;" (assignment_expression "*(byte *)(param_1 + 0x2a) = *(byte *)(param_1 + 0x2a) & 0xf8 | 2" (pointer_expression "*(byte *)(param_1 + 0x2a)" * (cast_expression "(byte *)(param_1 + 0x2a)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2a)" ( (binary_expression "param_1 + 0x2a" identifier + number_literal) )))) = (binary_expression "*(byte *)(param_1 + 0x2a) & 0xf8 | 2" (binary_expression "*(byte *)(param_1 + 0x2a) & 0xf8" (pointer_expression "*(byte *)(param_1 + 0x2a)" * (cast_expression "(byte *)(param_1 + 0x2a)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2a)" ( (binary_expression "param_1 + 0x2a" identifier + number_literal) )))) & number_literal) | number_literal)) ;) (expression_statement "*(undefined4 *)(param_1 + 8) = param_2;" (assignment_expression "*(undefined4 *)(param_1 + 8) = param_2" (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 0xc) = param_3;" (assignment_expression "*(undefined4 *)(param_1 + 0xc) = param_3" (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_00069d00("../../gold/symtab.cc",0x223,"set_output_segment",param_1);" (call_expression "FUN_00069d00("../../gold/symtab.cc",0x223,"set_output_segment",param_1)" identifier (argument_list "("../../gold/symtab.cc",0x223,"set_output_segment",param_1)" ( (string_literal ""../../gold/symtab.cc"" " string_content ") , number_literal , (string_literal ""set_output_segment"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: void set_output_segment(Symbol * this, Output_segment * os,\n   Segment_offset_base base) */\n\nvoid __thiscall\ngold::Symbol::set_output_segment(Symbol *this,Output_segment *os,Segment_offset_base base)\n\n{\n  if ((this->field_0x2c & 4) != 0) {\n    this->field_0x2a = this->field_0x2a & 0xf8 | 2;\n    (this->u1_).output_segment = os;\n    (this->u2_).offset_base = base;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/symtab.cc",0x223,"set_output_segment");\n}\n\n" comment comment (function_definition "void __thiscall\ngold::Symbol::set_output_segment(Symbol *this,Output_segment *os,Segment_offset_base base)\n\n{\n  if ((this->field_0x2c & 4) != 0) {\n    this->field_0x2a = this->field_0x2a & 0xf8 | 2;\n    (this->u1_).output_segment = os;\n    (this->u2_).offset_base = base;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/symtab.cc",0x223,"set_output_segment");\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Symbol::" identifier : : identifier : :) (function_declarator "set_output_segment(Symbol *this,Output_segment *os,Segment_offset_base base)" identifier (parameter_list "(Symbol *this,Output_segment *os,Segment_offset_base base)" ( (parameter_declaration "Symbol *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Output_segment *os" type_identifier (pointer_declarator "*os" * identifier)) , (parameter_declaration "Segment_offset_base base" type_identifier identifier) ))) (compound_statement "{\n  if ((this->field_0x2c & 4) != 0) {\n    this->field_0x2a = this->field_0x2a & 0xf8 | 2;\n    (this->u1_).output_segment = os;\n    (this->u2_).offset_base = base;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/symtab.cc",0x223,"set_output_segment");\n}" { (if_statement "if ((this->field_0x2c & 4) != 0) {\n    this->field_0x2a = this->field_0x2a & 0xf8 | 2;\n    (this->u1_).output_segment = os;\n    (this->u2_).offset_base = base;\n    return;\n  }" if (parenthesized_expression "((this->field_0x2c & 4) != 0)" ( (binary_expression "(this->field_0x2c & 4) != 0" (parenthesized_expression "(this->field_0x2c & 4)" ( (binary_expression "this->field_0x2c & 4" (field_expression "this->field_0x2c" identifier -> field_identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n    this->field_0x2a = this->field_0x2a & 0xf8 | 2;\n    (this->u1_).output_segment = os;\n    (this->u2_).offset_base = base;\n    return;\n  }" { (expression_statement "this->field_0x2a = this->field_0x2a & 0xf8 | 2;" (assignment_expression "this->field_0x2a = this->field_0x2a & 0xf8 | 2" (field_expression "this->field_0x2a" identifier -> field_identifier) = (binary_expression "this->field_0x2a & 0xf8 | 2" (binary_expression "this->field_0x2a & 0xf8" (field_expression "this->field_0x2a" identifier -> field_identifier) & number_literal) | number_literal)) ;) (expression_statement "(this->u1_).output_segment = os;" (assignment_expression "(this->u1_).output_segment = os" (field_expression "(this->u1_).output_segment" (parenthesized_expression "(this->u1_)" ( (field_expression "this->u1_" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(this->u2_).offset_base = base;" (assignment_expression "(this->u2_).offset_base = base" (field_expression "(this->u2_).offset_base" (parenthesized_expression "(this->u2_)" ( (field_expression "this->u2_" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (return_statement "return;" return ;) })) comment (expression_statement "do_gold_unreachable("../../gold/symtab.cc",0x223,"set_output_segment");" (call_expression "do_gold_unreachable("../../gold/symtab.cc",0x223,"set_output_segment")" identifier (argument_list "("../../gold/symtab.cc",0x223,"set_output_segment")" ( (string_literal ""../../gold/symtab.cc"" " string_content ") , number_literal , (string_literal ""set_output_segment"" " string_content ") ))) ;) })))
(translation_unit "void FUN_001777f0(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  if ((*(byte *)(param_1 + 0x2c) & 4) != 0) {\n    *(byte *)(param_1 + 0x2a) = *(byte *)(param_1 + 0x2a) & 0xf8 | 2;\n    *(undefined4 *)(param_1 + 8) = param_2;\n    *(undefined4 *)(param_1 + 0xc) = param_3;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/symtab.cc",0x223,"set_output_segment",param_1);\n}\n\n" (function_definition "void FUN_001777f0(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  if ((*(byte *)(param_1 + 0x2c) & 4) != 0) {\n    *(byte *)(param_1 + 0x2a) = *(byte *)(param_1 + 0x2a) & 0xf8 | 2;\n    *(undefined4 *)(param_1 + 8) = param_2;\n    *(undefined4 *)(param_1 + 0xc) = param_3;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/symtab.cc",0x223,"set_output_segment",param_1);\n}" primitive_type (function_declarator "FUN_001777f0(int param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  if ((*(byte *)(param_1 + 0x2c) & 4) != 0) {\n    *(byte *)(param_1 + 0x2a) = *(byte *)(param_1 + 0x2a) & 0xf8 | 2;\n    *(undefined4 *)(param_1 + 8) = param_2;\n    *(undefined4 *)(param_1 + 0xc) = param_3;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/symtab.cc",0x223,"set_output_segment",param_1);\n}" { (if_statement "if ((*(byte *)(param_1 + 0x2c) & 4) != 0) {\n    *(byte *)(param_1 + 0x2a) = *(byte *)(param_1 + 0x2a) & 0xf8 | 2;\n    *(undefined4 *)(param_1 + 8) = param_2;\n    *(undefined4 *)(param_1 + 0xc) = param_3;\n    return;\n  }" if (parenthesized_expression "((*(byte *)(param_1 + 0x2c) & 4) != 0)" ( (binary_expression "(*(byte *)(param_1 + 0x2c) & 4) != 0" (parenthesized_expression "(*(byte *)(param_1 + 0x2c) & 4)" ( (binary_expression "*(byte *)(param_1 + 0x2c) & 4" (pointer_expression "*(byte *)(param_1 + 0x2c)" * (cast_expression "(byte *)(param_1 + 0x2c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n    *(byte *)(param_1 + 0x2a) = *(byte *)(param_1 + 0x2a) & 0xf8 | 2;\n    *(undefined4 *)(param_1 + 8) = param_2;\n    *(undefined4 *)(param_1 + 0xc) = param_3;\n    return;\n  }" { (expression_statement "*(byte *)(param_1 + 0x2a) = *(byte *)(param_1 + 0x2a) & 0xf8 | 2;" (assignment_expression "*(byte *)(param_1 + 0x2a) = *(byte *)(param_1 + 0x2a) & 0xf8 | 2" (pointer_expression "*(byte *)(param_1 + 0x2a)" * (cast_expression "(byte *)(param_1 + 0x2a)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2a)" ( (binary_expression "param_1 + 0x2a" identifier + number_literal) )))) = (binary_expression "*(byte *)(param_1 + 0x2a) & 0xf8 | 2" (binary_expression "*(byte *)(param_1 + 0x2a) & 0xf8" (pointer_expression "*(byte *)(param_1 + 0x2a)" * (cast_expression "(byte *)(param_1 + 0x2a)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2a)" ( (binary_expression "param_1 + 0x2a" identifier + number_literal) )))) & number_literal) | number_literal)) ;) (expression_statement "*(undefined4 *)(param_1 + 8) = param_2;" (assignment_expression "*(undefined4 *)(param_1 + 8) = param_2" (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 0xc) = param_3;" (assignment_expression "*(undefined4 *)(param_1 + 0xc) = param_3" (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_00069d00("../../gold/symtab.cc",0x223,"set_output_segment",param_1);" (call_expression "FUN_00069d00("../../gold/symtab.cc",0x223,"set_output_segment",param_1)" identifier (argument_list "("../../gold/symtab.cc",0x223,"set_output_segment",param_1)" ( (string_literal ""../../gold/symtab.cc"" " string_content ") , number_literal , (string_literal ""set_output_segment"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (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) )))) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) | LIT)) ;) (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) )))) = IDENT) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "void FUN_001777f0(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  if ((*(byte *)(param_1 + 0x2c) & 4) != 0) {\n    *(byte *)(param_1 + 0x2a) = *(byte *)(param_1 + 0x2a) & 0xf8 | 2;\n    *(undefined4 *)(param_1 + 8) = param_2;\n    *(undefined4 *)(param_1 + 0xc) = param_3;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/symtab.cc",0x223,"set_output_segment",param_1);\n}" (primitive_type "void") (function_declarator "FUN_001777f0(int param_1,undefined4 param_2,undefined4 param_3)" (identifier "FUN_001777f0") (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  if ((*(byte *)(param_1 + 0x2c) & 4) != 0) {\n    *(byte *)(param_1 + 0x2a) = *(byte *)(param_1 + 0x2a) & 0xf8 | 2;\n    *(undefined4 *)(param_1 + 8) = param_2;\n    *(undefined4 *)(param_1 + 0xc) = param_3;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/symtab.cc",0x223,"set_output_segment",param_1);\n}" ({ "{") (if_statement "if ((*(byte *)(param_1 + 0x2c) & 4) != 0) {\n    *(byte *)(param_1 + 0x2a) = *(byte *)(param_1 + 0x2a) & 0xf8 | 2;\n    *(undefined4 *)(param_1 + 8) = param_2;\n    *(undefined4 *)(param_1 + 0xc) = param_3;\n    return;\n  }" (if "if") (parenthesized_expression "((*(byte *)(param_1 + 0x2c) & 4) != 0)" (( "(") (binary_expression "(*(byte *)(param_1 + 0x2c) & 4) != 0" (parenthesized_expression "(*(byte *)(param_1 + 0x2c) & 4)" (( "(") (binary_expression "*(byte *)(param_1 + 0x2c) & 4" (pointer_expression "*(byte *)(param_1 + 0x2c)" (* "*") (cast_expression "(byte *)(param_1 + 0x2c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (& "&") (number_literal "4")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *(byte *)(param_1 + 0x2a) = *(byte *)(param_1 + 0x2a) & 0xf8 | 2;\n    *(undefined4 *)(param_1 + 8) = param_2;\n    *(undefined4 *)(param_1 + 0xc) = param_3;\n    return;\n  }" ({ "{") (expression_statement "*(byte *)(param_1 + 0x2a) = *(byte *)(param_1 + 0x2a) & 0xf8 | 2;" (assignment_expression "*(byte *)(param_1 + 0x2a) = *(byte *)(param_1 + 0x2a) & 0xf8 | 2" (pointer_expression "*(byte *)(param_1 + 0x2a)" (* "*") (cast_expression "(byte *)(param_1 + 0x2a)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2a)" (( "(") (binary_expression "param_1 + 0x2a" (identifier "param_1") (+ "+") (number_literal "0x2a")) () ")")))) (= "=") (binary_expression "*(byte *)(param_1 + 0x2a) & 0xf8 | 2" (binary_expression "*(byte *)(param_1 + 0x2a) & 0xf8" (pointer_expression "*(byte *)(param_1 + 0x2a)" (* "*") (cast_expression "(byte *)(param_1 + 0x2a)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2a)" (( "(") (binary_expression "param_1 + 0x2a" (identifier "param_1") (+ "+") (number_literal "0x2a")) () ")")))) (& "&") (number_literal "0xf8")) (| "|") (number_literal "2"))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 8) = param_2;" (assignment_expression "*(undefined4 *)(param_1 + 8) = param_2" (pointer_expression "*(undefined4 *)(param_1 + 8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0xc) = param_3;" (assignment_expression "*(undefined4 *)(param_1 + 0xc) = param_3" (pointer_expression "*(undefined4 *)(param_1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "param_3")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00069d00("../../gold/symtab.cc",0x223,"set_output_segment",param_1);" (call_expression "FUN_00069d00("../../gold/symtab.cc",0x223,"set_output_segment",param_1)" (identifier "FUN_00069d00") (argument_list "("../../gold/symtab.cc",0x223,"set_output_segment",param_1)" (( "(") (string_literal ""../../gold/symtab.cc"" (" """) (string_content "../../gold/symtab.cc") (" """)) (, ",") (number_literal "0x223") (, ",") (string_literal ""set_output_segment"" (" """) (string_content "set_output_segment") (" """)) (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void set_output_segment(Symbol * this, Output_segment * os,
   Segment_offset_base base) */

void __thiscall
gold::type_1::function_1(type_1 *this,type_2 *os,type_3 base)

{
  if ((this->field_0x2c & 4) != 0) {
    this->field_0x2a = this->field_0x2a & 0xf8 | 2;
    (this->u1_).output_segment = os;
    (this->u2_).offset_base = base;
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_1("../../gold/symtab.cc",0x223,"set_output_segment");
}


(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)) (parameter_declaration type: (type_identifier) 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: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) 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: (binary_expression left: (binary_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)) right: (number_literal)))) (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: (identifier))) (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,undefined4 param_2,undefined4 param_3)

{
  if ((*(byte *)(param_1 + 0x2c) & 4) != 0) {
    *(byte *)(param_1 + 0x2a) = *(byte *)(param_1 + 0x2a) & 0xf8 | 2;
    *(undefined4 *)(param_1 + 8) = param_2;
    *(undefined4 *)(param_1 + 0xc) = param_3;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/symtab.cc",0x223,"set_output_segment",param_1);
}

