
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void do_write_to_buffer(Output_merge_string<short_unsigned_int> * this,
   uchar * buffer) */

void __thiscall
gold::Output_merge_string<short_unsigned_int>::do_write_to_buffer
          (Output_merge_string<short_unsigned_int> *this,uchar *buffer)

{
  if (((this->super_Output_merge_base).super_Output_section_data.super_Output_data.field_0x1c & 2)
      != 0) {
    Stringpool_template<short_unsigned_int>::write_to_buffer
              (&this->stringpool_,buffer,
               (section_size_type)
               (this->super_Output_merge_base).super_Output_section_data.super_Output_data.
               data_size_);
    return;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/output.h",0xcf,"data_size");
}



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

void FUN_001c5a90(int param_1,undefined4 param_2)

{
  if ((*(byte *)(param_1 + 0x1c) & 2) != 0) {
    FUN_00171b30(param_1 + 0x5c,param_2,*(undefined4 *)(param_1 + 0xc));
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/output.h",0xcf,"data_size",param_1);
}


PUSH EBX
CALL 0x00035840
ADD EBX,0x1c956a
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x10]
TEST byte ptr [EAX + 0x1c],0x2
JZ 0x001c5ac1
SUB ESP,0x4
LEA EDX,[EAX + 0x5c]
PUSH dword ptr [EAX + 0xc]
PUSH dword ptr [ESP + 0x1c]
PUSH EDX
CALL 0x00171b30
ADD ESP,0x18
POP EBX
RET
PUSH EAX
LEA EAX,[EBX + 0xfff112c0]
PUSH EAX
LEA EAX,[EBX + 0xffef8eac]
PUSH 0xcf
PUSH EAX
CALL 0x00069d00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_001c5a90(int param_1,undefined4 param_2)\n\n{\n  if ((*(byte *)(param_1 + 0x1c) & 2) != 0) {\n    FUN_00171b30(param_1 + 0x5c,param_2,*(undefined4 *)(param_1 + 0xc));\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/output.h",0xcf,"data_size",param_1);\n}\n\n" comment (function_definition "void FUN_001c5a90(int param_1,undefined4 param_2)\n\n{\n  if ((*(byte *)(param_1 + 0x1c) & 2) != 0) {\n    FUN_00171b30(param_1 + 0x5c,param_2,*(undefined4 *)(param_1 + 0xc));\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/output.h",0xcf,"data_size",param_1);\n}" primitive_type (function_declarator "FUN_001c5a90(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  if ((*(byte *)(param_1 + 0x1c) & 2) != 0) {\n    FUN_00171b30(param_1 + 0x5c,param_2,*(undefined4 *)(param_1 + 0xc));\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/output.h",0xcf,"data_size",param_1);\n}" { (if_statement "if ((*(byte *)(param_1 + 0x1c) & 2) != 0) {\n    FUN_00171b30(param_1 + 0x5c,param_2,*(undefined4 *)(param_1 + 0xc));\n    return;\n  }" if (parenthesized_expression "((*(byte *)(param_1 + 0x1c) & 2) != 0)" ( (binary_expression "(*(byte *)(param_1 + 0x1c) & 2) != 0" (parenthesized_expression "(*(byte *)(param_1 + 0x1c) & 2)" ( (binary_expression "*(byte *)(param_1 + 0x1c) & 2" (pointer_expression "*(byte *)(param_1 + 0x1c)" * (cast_expression "(byte *)(param_1 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n    FUN_00171b30(param_1 + 0x5c,param_2,*(undefined4 *)(param_1 + 0xc));\n    return;\n  }" { (expression_statement "FUN_00171b30(param_1 + 0x5c,param_2,*(undefined4 *)(param_1 + 0xc));" (call_expression "FUN_00171b30(param_1 + 0x5c,param_2,*(undefined4 *)(param_1 + 0xc))" identifier (argument_list "(param_1 + 0x5c,param_2,*(undefined4 *)(param_1 + 0xc))" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) , identifier , (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) )))) ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_00069d00("../../gold/output.h",0xcf,"data_size",param_1);" (call_expression "FUN_00069d00("../../gold/output.h",0xcf,"data_size",param_1)" identifier (argument_list "("../../gold/output.h",0xcf,"data_size",param_1)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""data_size"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: void do_write_to_buffer(Output_merge_string<short_unsigned_int> * this,\n   uchar * buffer) */\n\nvoid __thiscall\ngold::Output_merge_string<short_unsigned_int>::do_write_to_buffer\n          (Output_merge_string<short_unsigned_int> *this,uchar *buffer)\n\n{\n  if (((this->super_Output_merge_base).super_Output_section_data.super_Output_data.field_0x1c & 2)\n      != 0) {\n    Stringpool_template<short_unsigned_int>::write_to_buffer\n              (&this->stringpool_,buffer,\n               (section_size_type)\n               (this->super_Output_merge_base).super_Output_section_data.super_Output_data.\n               data_size_);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/output.h",0xcf,"data_size");\n}\n\n" comment comment (function_definition "void __thiscall\ngold::Output_merge_string<short_unsigned_int>::do_write_to_buffer\n          (Output_merge_string<short_unsigned_int> *this,uchar *buffer)\n\n{\n  if (((this->super_Output_merge_base).super_Output_section_data.super_Output_data.field_0x1c & 2)\n      != 0) {\n    Stringpool_template<short_unsigned_int>::write_to_buffer\n              (&this->stringpool_,buffer,\n               (section_size_type)\n               (this->super_Output_merge_base).super_Output_section_data.super_Output_data.\n               data_size_);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/output.h",0xcf,"data_size");\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Output_merge_string<short_unsigned_int>::" identifier : : identifier < identifier > : :) (function_declarator "do_write_to_buffer\n          (Output_merge_string<short_unsigned_int> *this,uchar *buffer)" identifier (parameter_list "(Output_merge_string<short_unsigned_int> *this,uchar *buffer)" ( (parameter_declaration "Output_merge_string<short_unsigned_int> *this" type_identifier (ERROR "<short_unsigned_int>" < identifier >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "uchar *buffer" type_identifier (pointer_declarator "*buffer" * identifier)) ))) (compound_statement "{\n  if (((this->super_Output_merge_base).super_Output_section_data.super_Output_data.field_0x1c & 2)\n      != 0) {\n    Stringpool_template<short_unsigned_int>::write_to_buffer\n              (&this->stringpool_,buffer,\n               (section_size_type)\n               (this->super_Output_merge_base).super_Output_section_data.super_Output_data.\n               data_size_);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/output.h",0xcf,"data_size");\n}" { (if_statement "if (((this->super_Output_merge_base).super_Output_section_data.super_Output_data.field_0x1c & 2)\n      != 0) {\n    Stringpool_template<short_unsigned_int>::write_to_buffer\n              (&this->stringpool_,buffer,\n               (section_size_type)\n               (this->super_Output_merge_base).super_Output_section_data.super_Output_data.\n               data_size_);\n    return;\n  }" if (parenthesized_expression "(((this->super_Output_merge_base).super_Output_section_data.super_Output_data.field_0x1c & 2)\n      != 0)" ( (binary_expression "((this->super_Output_merge_base).super_Output_section_data.super_Output_data.field_0x1c & 2)\n      != 0" (parenthesized_expression "((this->super_Output_merge_base).super_Output_section_data.super_Output_data.field_0x1c & 2)" ( (binary_expression "(this->super_Output_merge_base).super_Output_section_data.super_Output_data.field_0x1c & 2" (field_expression "(this->super_Output_merge_base).super_Output_section_data.super_Output_data.field_0x1c" (field_expression "(this->super_Output_merge_base).super_Output_section_data.super_Output_data" (field_expression "(this->super_Output_merge_base).super_Output_section_data" (parenthesized_expression "(this->super_Output_merge_base)" ( (field_expression "this->super_Output_merge_base" identifier -> field_identifier) )) . field_identifier) . field_identifier) . field_identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n    Stringpool_template<short_unsigned_int>::write_to_buffer\n              (&this->stringpool_,buffer,\n               (section_size_type)\n               (this->super_Output_merge_base).super_Output_section_data.super_Output_data.\n               data_size_);\n    return;\n  }" { (expression_statement "Stringpool_template<short_unsigned_int>::write_to_buffer\n              (&this->stringpool_,buffer,\n               (section_size_type)\n               (this->super_Output_merge_base).super_Output_section_data.super_Output_data.\n               data_size_);" (binary_expression "Stringpool_template<short_unsigned_int>::write_to_buffer\n              (&this->stringpool_,buffer,\n               (section_size_type)\n               (this->super_Output_merge_base).super_Output_section_data.super_Output_data.\n               data_size_)" (binary_expression "Stringpool_template<short_unsigned_int" identifier < identifier) > (ERROR "::" : :) (call_expression "write_to_buffer\n              (&this->stringpool_,buffer,\n               (section_size_type)\n               (this->super_Output_merge_base).super_Output_section_data.super_Output_data.\n               data_size_)" identifier (argument_list "(&this->stringpool_,buffer,\n               (section_size_type)\n               (this->super_Output_merge_base).super_Output_section_data.super_Output_data.\n               data_size_)" ( (pointer_expression "&this->stringpool_" & (field_expression "this->stringpool_" identifier -> field_identifier)) , identifier , (field_expression "(section_size_type)\n               (this->super_Output_merge_base).super_Output_section_data.super_Output_data.\n               data_size_" (field_expression "(section_size_type)\n               (this->super_Output_merge_base).super_Output_section_data.super_Output_data" (field_expression "(section_size_type)\n               (this->super_Output_merge_base).super_Output_section_data" (call_expression "(section_size_type)\n               (this->super_Output_merge_base)" (parenthesized_expression "(section_size_type)" ( identifier )) (argument_list "(this->super_Output_merge_base)" ( (field_expression "this->super_Output_merge_base" identifier -> field_identifier) ))) . field_identifier) . field_identifier) . field_identifier) )))) ;) (return_statement "return;" return ;) })) comment (expression_statement "do_gold_unreachable("../../gold/output.h",0xcf,"data_size");" (call_expression "do_gold_unreachable("../../gold/output.h",0xcf,"data_size")" identifier (argument_list "("../../gold/output.h",0xcf,"data_size")" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""data_size"" " string_content ") ))) ;) })))
(translation_unit "void FUN_001c5a90(int param_1,undefined4 param_2)\n\n{\n  if ((*(byte *)(param_1 + 0x1c) & 2) != 0) {\n    FUN_00171b30(param_1 + 0x5c,param_2,*(undefined4 *)(param_1 + 0xc));\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/output.h",0xcf,"data_size",param_1);\n}\n\n" (function_definition "void FUN_001c5a90(int param_1,undefined4 param_2)\n\n{\n  if ((*(byte *)(param_1 + 0x1c) & 2) != 0) {\n    FUN_00171b30(param_1 + 0x5c,param_2,*(undefined4 *)(param_1 + 0xc));\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/output.h",0xcf,"data_size",param_1);\n}" primitive_type (function_declarator "FUN_001c5a90(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  if ((*(byte *)(param_1 + 0x1c) & 2) != 0) {\n    FUN_00171b30(param_1 + 0x5c,param_2,*(undefined4 *)(param_1 + 0xc));\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/output.h",0xcf,"data_size",param_1);\n}" { (if_statement "if ((*(byte *)(param_1 + 0x1c) & 2) != 0) {\n    FUN_00171b30(param_1 + 0x5c,param_2,*(undefined4 *)(param_1 + 0xc));\n    return;\n  }" if (parenthesized_expression "((*(byte *)(param_1 + 0x1c) & 2) != 0)" ( (binary_expression "(*(byte *)(param_1 + 0x1c) & 2) != 0" (parenthesized_expression "(*(byte *)(param_1 + 0x1c) & 2)" ( (binary_expression "*(byte *)(param_1 + 0x1c) & 2" (pointer_expression "*(byte *)(param_1 + 0x1c)" * (cast_expression "(byte *)(param_1 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n    FUN_00171b30(param_1 + 0x5c,param_2,*(undefined4 *)(param_1 + 0xc));\n    return;\n  }" { (expression_statement "FUN_00171b30(param_1 + 0x5c,param_2,*(undefined4 *)(param_1 + 0xc));" (call_expression "FUN_00171b30(param_1 + 0x5c,param_2,*(undefined4 *)(param_1 + 0xc))" identifier (argument_list "(param_1 + 0x5c,param_2,*(undefined4 *)(param_1 + 0xc))" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) , identifier , (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) )))) ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_00069d00("../../gold/output.h",0xcf,"data_size",param_1);" (call_expression "FUN_00069d00("../../gold/output.h",0xcf,"data_size",param_1)" identifier (argument_list "("../../gold/output.h",0xcf,"data_size",param_1)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""data_size"" " 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 (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 (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + 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_001c5a90(int param_1,undefined4 param_2)\n\n{\n  if ((*(byte *)(param_1 + 0x1c) & 2) != 0) {\n    FUN_00171b30(param_1 + 0x5c,param_2,*(undefined4 *)(param_1 + 0xc));\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/output.h",0xcf,"data_size",param_1);\n}" (primitive_type "void") (function_declarator "FUN_001c5a90(int param_1,undefined4 param_2)" (identifier "FUN_001c5a90") (parameter_list "(int param_1,undefined4 param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  if ((*(byte *)(param_1 + 0x1c) & 2) != 0) {\n    FUN_00171b30(param_1 + 0x5c,param_2,*(undefined4 *)(param_1 + 0xc));\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/output.h",0xcf,"data_size",param_1);\n}" ({ "{") (if_statement "if ((*(byte *)(param_1 + 0x1c) & 2) != 0) {\n    FUN_00171b30(param_1 + 0x5c,param_2,*(undefined4 *)(param_1 + 0xc));\n    return;\n  }" (if "if") (parenthesized_expression "((*(byte *)(param_1 + 0x1c) & 2) != 0)" (( "(") (binary_expression "(*(byte *)(param_1 + 0x1c) & 2) != 0" (parenthesized_expression "(*(byte *)(param_1 + 0x1c) & 2)" (( "(") (binary_expression "*(byte *)(param_1 + 0x1c) & 2" (pointer_expression "*(byte *)(param_1 + 0x1c)" (* "*") (cast_expression "(byte *)(param_1 + 0x1c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (& "&") (number_literal "2")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00171b30(param_1 + 0x5c,param_2,*(undefined4 *)(param_1 + 0xc));\n    return;\n  }" ({ "{") (expression_statement "FUN_00171b30(param_1 + 0x5c,param_2,*(undefined4 *)(param_1 + 0xc));" (call_expression "FUN_00171b30(param_1 + 0x5c,param_2,*(undefined4 *)(param_1 + 0xc))" (identifier "FUN_00171b30") (argument_list "(param_1 + 0x5c,param_2,*(undefined4 *)(param_1 + 0xc))" (( "(") (binary_expression "param_1 + 0x5c" (identifier "param_1") (+ "+") (number_literal "0x5c")) (, ",") (identifier "param_2") (, ",") (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")) () ")")))) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00069d00("../../gold/output.h",0xcf,"data_size",param_1);" (call_expression "FUN_00069d00("../../gold/output.h",0xcf,"data_size",param_1)" (identifier "FUN_00069d00") (argument_list "("../../gold/output.h",0xcf,"data_size",param_1)" (( "(") (string_literal ""../../gold/output.h"" (" """) (string_content "../../gold/output.h") (" """)) (, ",") (number_literal "0xcf") (, ",") (string_literal ""data_size"" (" """) (string_content "data_size") (" """)) (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void do_write_to_buffer(Output_merge_string<short_unsigned_int> * this,
   uchar * buffer) */

void __thiscall
gold::type_1<var_2>::function_1
          (type_1<var_2> *this,type_2 *buffer)

{
  if (((this->super_Output_merge_base).super_Output_section_data.super_Output_data.field_0x1c & 2)
      != 0) {
    var_1<var_2>::var_3
              (&this->stringpool_,buffer,
               (section_size_type)
               (this->super_Output_merge_base).super_Output_section_data.super_Output_data.
               data_size_);
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_4("../../gold/output.h",0xcf,"data_size");
}


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

{
  if ((*(byte *)(param_1 + 0x1c) & 2) != 0) {
    FUN_00171b30(param_1 + 0x5c,param_2,*(undefined4 *)(param_1 + 0xc));
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/output.h",0xcf,"data_size",param_1);
}

