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

void __thiscall
gold::Output_data_const_buffer::do_write_to_buffer(Output_data_const_buffer *this,uchar *buffer)

{
  if (((this->super_Output_section_data).super_Output_data.field_0x1c & 2) != 0) {
    memcpy(buffer,this->p_,(size_t)(this->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_000f7920(int param_1,void *param_2)

{
  if ((*(byte *)(param_1 + 0x1c) & 2) != 0) {
    memcpy(param_2,*(void **)(param_1 + 0x2c),*(size_t *)(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,0x2976da
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x10]
TEST byte ptr [EAX + 0x1c],0x2
JZ 0x000f7950
SUB ESP,0x4
PUSH dword ptr [EAX + 0xc]
PUSH dword ptr [EAX + 0x2c]
PUSH dword ptr [ESP + 0x20]
CALL 0x000295c0
ADD ESP,0x18
POP EBX
RET
PUSH EAX
LEA EAX,[EBX + 0xfff052e0]
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_000f7920(int param_1,void *param_2)\n\n{\n  if ((*(byte *)(param_1 + 0x1c) & 2) != 0) {\n    memcpy(param_2,*(void **)(param_1 + 0x2c),*(size_t *)(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_000f7920(int param_1,void *param_2)\n\n{\n  if ((*(byte *)(param_1 + 0x1c) & 2) != 0) {\n    memcpy(param_2,*(void **)(param_1 + 0x2c),*(size_t *)(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_000f7920(int param_1,void *param_2)" identifier (parameter_list "(int param_1,void *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "void *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  if ((*(byte *)(param_1 + 0x1c) & 2) != 0) {\n    memcpy(param_2,*(void **)(param_1 + 0x2c),*(size_t *)(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    memcpy(param_2,*(void **)(param_1 + 0x2c),*(size_t *)(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    memcpy(param_2,*(void **)(param_1 + 0x2c),*(size_t *)(param_1 + 0xc));\n    return;\n  }" { (expression_statement "memcpy(param_2,*(void **)(param_1 + 0x2c),*(size_t *)(param_1 + 0xc));" (call_expression "memcpy(param_2,*(void **)(param_1 + 0x2c),*(size_t *)(param_1 + 0xc))" identifier (argument_list "(param_2,*(void **)(param_1 + 0x2c),*(size_t *)(param_1 + 0xc))" ( identifier , (pointer_expression "*(void **)(param_1 + 0x2c)" * (cast_expression "(void **)(param_1 + 0x2c)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) , (pointer_expression "*(size_t *)(param_1 + 0xc)" * (cast_expression "(size_t *)(param_1 + 0xc)" ( (type_descriptor "size_t *" primitive_type (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_data_const_buffer * this, uchar *\n   buffer) */\n\nvoid __thiscall\ngold::Output_data_const_buffer::do_write_to_buffer(Output_data_const_buffer *this,uchar *buffer)\n\n{\n  if (((this->super_Output_section_data).super_Output_data.field_0x1c & 2) != 0) {\n    memcpy(buffer,this->p_,(size_t)(this->super_Output_section_data).super_Output_data.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_data_const_buffer::do_write_to_buffer(Output_data_const_buffer *this,uchar *buffer)\n\n{\n  if (((this->super_Output_section_data).super_Output_data.field_0x1c & 2) != 0) {\n    memcpy(buffer,this->p_,(size_t)(this->super_Output_section_data).super_Output_data.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_data_const_buffer::" identifier : : identifier : :) (function_declarator "do_write_to_buffer(Output_data_const_buffer *this,uchar *buffer)" identifier (parameter_list "(Output_data_const_buffer *this,uchar *buffer)" ( (parameter_declaration "Output_data_const_buffer *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "uchar *buffer" type_identifier (pointer_declarator "*buffer" * identifier)) ))) (compound_statement "{\n  if (((this->super_Output_section_data).super_Output_data.field_0x1c & 2) != 0) {\n    memcpy(buffer,this->p_,(size_t)(this->super_Output_section_data).super_Output_data.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_section_data).super_Output_data.field_0x1c & 2) != 0) {\n    memcpy(buffer,this->p_,(size_t)(this->super_Output_section_data).super_Output_data.data_size_);\n    return;\n  }" if (parenthesized_expression "(((this->super_Output_section_data).super_Output_data.field_0x1c & 2) != 0)" ( (binary_expression "((this->super_Output_section_data).super_Output_data.field_0x1c & 2) != 0" (parenthesized_expression "((this->super_Output_section_data).super_Output_data.field_0x1c & 2)" ( (binary_expression "(this->super_Output_section_data).super_Output_data.field_0x1c & 2" (field_expression "(this->super_Output_section_data).super_Output_data.field_0x1c" (field_expression "(this->super_Output_section_data).super_Output_data" (parenthesized_expression "(this->super_Output_section_data)" ( (field_expression "this->super_Output_section_data" identifier -> field_identifier) )) . field_identifier) . field_identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n    memcpy(buffer,this->p_,(size_t)(this->super_Output_section_data).super_Output_data.data_size_);\n    return;\n  }" { (expression_statement "memcpy(buffer,this->p_,(size_t)(this->super_Output_section_data).super_Output_data.data_size_);" (call_expression "memcpy(buffer,this->p_,(size_t)(this->super_Output_section_data).super_Output_data.data_size_)" identifier (argument_list "(buffer,this->p_,(size_t)(this->super_Output_section_data).super_Output_data.data_size_)" ( identifier , (field_expression "this->p_" identifier -> field_identifier) , (cast_expression "(size_t)(this->super_Output_section_data).super_Output_data.data_size_" ( (type_descriptor "size_t" primitive_type) ) (field_expression "(this->super_Output_section_data).super_Output_data.data_size_" (field_expression "(this->super_Output_section_data).super_Output_data" (parenthesized_expression "(this->super_Output_section_data)" ( (field_expression "this->super_Output_section_data" 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_000f7920(int param_1,void *param_2)\n\n{\n  if ((*(byte *)(param_1 + 0x1c) & 2) != 0) {\n    memcpy(param_2,*(void **)(param_1 + 0x2c),*(size_t *)(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_000f7920(int param_1,void *param_2)\n\n{\n  if ((*(byte *)(param_1 + 0x1c) & 2) != 0) {\n    memcpy(param_2,*(void **)(param_1 + 0x2c),*(size_t *)(param_1 + 0xc));\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/output.h",0xcf,"data_size",param_1);\n}" primitive_type (function_declarator "FUN_000f7920(int param_1,void *param_2)" identifier (parameter_list "(int param_1,void *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "void *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  if ((*(byte *)(param_1 + 0x1c) & 2) != 0) {\n    memcpy(param_2,*(void **)(param_1 + 0x2c),*(size_t *)(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    memcpy(param_2,*(void **)(param_1 + 0x2c),*(size_t *)(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    memcpy(param_2,*(void **)(param_1 + 0x2c),*(size_t *)(param_1 + 0xc));\n    return;\n  }" { (expression_statement "memcpy(param_2,*(void **)(param_1 + 0x2c),*(size_t *)(param_1 + 0xc));" (call_expression "memcpy(param_2,*(void **)(param_1 + 0x2c),*(size_t *)(param_1 + 0xc))" identifier (argument_list "(param_2,*(void **)(param_1 + 0x2c),*(size_t *)(param_1 + 0xc))" ( identifier , (pointer_expression "*(void **)(param_1 + 0x2c)" * (cast_expression "(void **)(param_1 + 0x2c)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) , (pointer_expression "*(size_t *)(param_1 + 0xc)" * (cast_expression "(size_t *)(param_1 + 0xc)" ( (type_descriptor "size_t *" primitive_type (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 (pointer_declarator * 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 ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (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_000f7920(int param_1,void *param_2)\n\n{\n  if ((*(byte *)(param_1 + 0x1c) & 2) != 0) {\n    memcpy(param_2,*(void **)(param_1 + 0x2c),*(size_t *)(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_000f7920(int param_1,void *param_2)" (identifier "FUN_000f7920") (parameter_list "(int param_1,void *param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "void *param_2" (primitive_type "void") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  if ((*(byte *)(param_1 + 0x1c) & 2) != 0) {\n    memcpy(param_2,*(void **)(param_1 + 0x2c),*(size_t *)(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    memcpy(param_2,*(void **)(param_1 + 0x2c),*(size_t *)(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    memcpy(param_2,*(void **)(param_1 + 0x2c),*(size_t *)(param_1 + 0xc));\n    return;\n  }" ({ "{") (expression_statement "memcpy(param_2,*(void **)(param_1 + 0x2c),*(size_t *)(param_1 + 0xc));" (call_expression "memcpy(param_2,*(void **)(param_1 + 0x2c),*(size_t *)(param_1 + 0xc))" (identifier "memcpy") (argument_list "(param_2,*(void **)(param_1 + 0x2c),*(size_t *)(param_1 + 0xc))" (( "(") (identifier "param_2") (, ",") (pointer_expression "*(void **)(param_1 + 0x2c)" (* "*") (cast_expression "(void **)(param_1 + 0x2c)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (, ",") (pointer_expression "*(size_t *)(param_1 + 0xc)" (* "*") (cast_expression "(size_t *)(param_1 + 0xc)" (( "(") (type_descriptor "size_t *" (primitive_type "size_t") (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_data_const_buffer * this, uchar *
   buffer) */

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

{
  if (((this->super_Output_section_data).super_Output_data.field_0x1c & 2) != 0) {
    var_1(buffer,this->p_,(size_t)(this->super_Output_section_data).super_Output_data.data_size_);
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_2("../../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: (primitive_type) declarator: (pointer_declarator 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 (identifier) (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (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)))))))) (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,void *param_2)

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

