
/* std::streambuf::streambuf(std::streambuf const&) */

void __thiscall std::streambuf::streambuf(streambuf *this,streambuf *param_1)

{
  *(undefined ***)this = &PTR__streambuf_004386a0;
  *(undefined8 *)(this + 8) = *(undefined8 *)(param_1 + 8);
  *(undefined8 *)(this + 0x10) = *(undefined8 *)(param_1 + 0x10);
  *(undefined8 *)(this + 0x18) = *(undefined8 *)(param_1 + 0x18);
  *(undefined8 *)(this + 0x20) = *(undefined8 *)(param_1 + 0x20);
  *(undefined8 *)(this + 0x28) = *(undefined8 *)(param_1 + 0x28);
  *(undefined8 *)(this + 0x30) = *(undefined8 *)(param_1 + 0x30);
  locale::locale((locale *)(this + 0x38),(locale *)(param_1 + 0x38));
  return;
}



void FUN_002e4b10(undefined8 *param_1,long param_2)

{
  *param_1 = &PTR_FUN_004386a0;
  param_1[1] = *(undefined8 *)(param_2 + 8);
  param_1[2] = *(undefined8 *)(param_2 + 0x10);
  param_1[3] = *(undefined8 *)(param_2 + 0x18);
  param_1[4] = *(undefined8 *)(param_2 + 0x20);
  param_1[5] = *(undefined8 *)(param_2 + 0x28);
  param_1[6] = *(undefined8 *)(param_2 + 0x30);
  FUN_002dca60();
  return;
}


LEA RAX,[0x438690]
ADD RSI,0x38
ADD RDI,0x38
ADD RAX,0x10
MOV qword ptr [RDI + -0x38],RAX
MOV RAX,qword ptr [RSI + -0x30]
MOV qword ptr [RDI + -0x30],RAX
MOV RAX,qword ptr [RSI + -0x28]
MOV qword ptr [RDI + -0x28],RAX
MOV RAX,qword ptr [RSI + -0x20]
MOV qword ptr [RDI + -0x20],RAX
MOV RAX,qword ptr [RSI + -0x18]
MOV qword ptr [RDI + -0x18],RAX
MOV RAX,qword ptr [RSI + -0x10]
MOV qword ptr [RDI + -0x10],RAX
MOV RAX,qword ptr [RSI + -0x8]
MOV qword ptr [RDI + -0x8],RAX
JMP 0x002dca60
(translation_unit "void FUN_002e4b10(undefined8 *param_1,long param_2)\n\n{\n  *param_1 = &PTR_FUN_004386a0;\n  param_1[1] = *(undefined8 *)(param_2 + 8);\n  param_1[2] = *(undefined8 *)(param_2 + 0x10);\n  param_1[3] = *(undefined8 *)(param_2 + 0x18);\n  param_1[4] = *(undefined8 *)(param_2 + 0x20);\n  param_1[5] = *(undefined8 *)(param_2 + 0x28);\n  param_1[6] = *(undefined8 *)(param_2 + 0x30);\n  FUN_002dca60();\n  return;\n}\n\n" (function_definition "void FUN_002e4b10(undefined8 *param_1,long param_2)\n\n{\n  *param_1 = &PTR_FUN_004386a0;\n  param_1[1] = *(undefined8 *)(param_2 + 8);\n  param_1[2] = *(undefined8 *)(param_2 + 0x10);\n  param_1[3] = *(undefined8 *)(param_2 + 0x18);\n  param_1[4] = *(undefined8 *)(param_2 + 0x20);\n  param_1[5] = *(undefined8 *)(param_2 + 0x28);\n  param_1[6] = *(undefined8 *)(param_2 + 0x30);\n  FUN_002dca60();\n  return;\n}" primitive_type (function_declarator "FUN_002e4b10(undefined8 *param_1,long param_2)" identifier (parameter_list "(undefined8 *param_1,long param_2)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  *param_1 = &PTR_FUN_004386a0;\n  param_1[1] = *(undefined8 *)(param_2 + 8);\n  param_1[2] = *(undefined8 *)(param_2 + 0x10);\n  param_1[3] = *(undefined8 *)(param_2 + 0x18);\n  param_1[4] = *(undefined8 *)(param_2 + 0x20);\n  param_1[5] = *(undefined8 *)(param_2 + 0x28);\n  param_1[6] = *(undefined8 *)(param_2 + 0x30);\n  FUN_002dca60();\n  return;\n}" { (expression_statement "*param_1 = &PTR_FUN_004386a0;" (assignment_expression "*param_1 = &PTR_FUN_004386a0" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_004386a0" & identifier)) ;) (expression_statement "param_1[1] = *(undefined8 *)(param_2 + 8);" (assignment_expression "param_1[1] = *(undefined8 *)(param_2 + 8)" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (pointer_expression "*(undefined8 *)(param_2 + 8)" * (cast_expression "(undefined8 *)(param_2 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (expression_statement "param_1[2] = *(undefined8 *)(param_2 + 0x10);" (assignment_expression "param_1[2] = *(undefined8 *)(param_2 + 0x10)" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (pointer_expression "*(undefined8 *)(param_2 + 0x10)" * (cast_expression "(undefined8 *)(param_2 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "param_1[3] = *(undefined8 *)(param_2 + 0x18);" (assignment_expression "param_1[3] = *(undefined8 *)(param_2 + 0x18)" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (pointer_expression "*(undefined8 *)(param_2 + 0x18)" * (cast_expression "(undefined8 *)(param_2 + 0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "param_1[4] = *(undefined8 *)(param_2 + 0x20);" (assignment_expression "param_1[4] = *(undefined8 *)(param_2 + 0x20)" (subscript_expression "param_1[4]" identifier [ number_literal ]) = (pointer_expression "*(undefined8 *)(param_2 + 0x20)" * (cast_expression "(undefined8 *)(param_2 + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "param_1[5] = *(undefined8 *)(param_2 + 0x28);" (assignment_expression "param_1[5] = *(undefined8 *)(param_2 + 0x28)" (subscript_expression "param_1[5]" identifier [ number_literal ]) = (pointer_expression "*(undefined8 *)(param_2 + 0x28)" * (cast_expression "(undefined8 *)(param_2 + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x28)" ( (binary_expression "param_2 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "param_1[6] = *(undefined8 *)(param_2 + 0x30);" (assignment_expression "param_1[6] = *(undefined8 *)(param_2 + 0x30)" (subscript_expression "param_1[6]" identifier [ number_literal ]) = (pointer_expression "*(undefined8 *)(param_2 + 0x30)" * (cast_expression "(undefined8 *)(param_2 + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x30)" ( (binary_expression "param_2 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "FUN_002dca60();" (call_expression "FUN_002dca60()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* std::streambuf::streambuf(std::streambuf const&) */\n\nvoid __thiscall std::streambuf::streambuf(streambuf *this,streambuf *param_1)\n\n{\n  *(undefined ***)this = &PTR__streambuf_004386a0;\n  *(undefined8 *)(this + 8) = *(undefined8 *)(param_1 + 8);\n  *(undefined8 *)(this + 0x10) = *(undefined8 *)(param_1 + 0x10);\n  *(undefined8 *)(this + 0x18) = *(undefined8 *)(param_1 + 0x18);\n  *(undefined8 *)(this + 0x20) = *(undefined8 *)(param_1 + 0x20);\n  *(undefined8 *)(this + 0x28) = *(undefined8 *)(param_1 + 0x28);\n  *(undefined8 *)(this + 0x30) = *(undefined8 *)(param_1 + 0x30);\n  locale::locale((locale *)(this + 0x38),(locale *)(param_1 + 0x38));\n  return;\n}\n\n" comment (function_definition "void __thiscall std::streambuf::streambuf(streambuf *this,streambuf *param_1)\n\n{\n  *(undefined ***)this = &PTR__streambuf_004386a0;\n  *(undefined8 *)(this + 8) = *(undefined8 *)(param_1 + 8);\n  *(undefined8 *)(this + 0x10) = *(undefined8 *)(param_1 + 0x10);\n  *(undefined8 *)(this + 0x18) = *(undefined8 *)(param_1 + 0x18);\n  *(undefined8 *)(this + 0x20) = *(undefined8 *)(param_1 + 0x20);\n  *(undefined8 *)(this + 0x28) = *(undefined8 *)(param_1 + 0x28);\n  *(undefined8 *)(this + 0x30) = *(undefined8 *)(param_1 + 0x30);\n  locale::locale((locale *)(this + 0x38),(locale *)(param_1 + 0x38));\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::streambuf::" identifier : : identifier : :) (function_declarator "streambuf(streambuf *this,streambuf *param_1)" identifier (parameter_list "(streambuf *this,streambuf *param_1)" ( (parameter_declaration "streambuf *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "streambuf *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  *(undefined ***)this = &PTR__streambuf_004386a0;\n  *(undefined8 *)(this + 8) = *(undefined8 *)(param_1 + 8);\n  *(undefined8 *)(this + 0x10) = *(undefined8 *)(param_1 + 0x10);\n  *(undefined8 *)(this + 0x18) = *(undefined8 *)(param_1 + 0x18);\n  *(undefined8 *)(this + 0x20) = *(undefined8 *)(param_1 + 0x20);\n  *(undefined8 *)(this + 0x28) = *(undefined8 *)(param_1 + 0x28);\n  *(undefined8 *)(this + 0x30) = *(undefined8 *)(param_1 + 0x30);\n  locale::locale((locale *)(this + 0x38),(locale *)(param_1 + 0x38));\n  return;\n}" { (expression_statement "*(undefined ***)this = &PTR__streambuf_004386a0;" (assignment_expression "*(undefined ***)this = &PTR__streambuf_004386a0" (pointer_expression "*(undefined ***)this" * (cast_expression "(undefined ***)this" ( (type_descriptor "undefined ***" type_identifier (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) identifier)) = (pointer_expression "&PTR__streambuf_004386a0" & identifier)) ;) (expression_statement "*(undefined8 *)(this + 8) = *(undefined8 *)(param_1 + 8);" (assignment_expression "*(undefined8 *)(this + 8) = *(undefined8 *)(param_1 + 8)" (pointer_expression "*(undefined8 *)(this + 8)" * (cast_expression "(undefined8 *)(this + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = (pointer_expression "*(undefined8 *)(param_1 + 8)" * (cast_expression "(undefined8 *)(param_1 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(this + 0x10) = *(undefined8 *)(param_1 + 0x10);" (assignment_expression "*(undefined8 *)(this + 0x10) = *(undefined8 *)(param_1 + 0x10)" (pointer_expression "*(undefined8 *)(this + 0x10)" * (cast_expression "(undefined8 *)(this + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) = (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(this + 0x18) = *(undefined8 *)(param_1 + 0x18);" (assignment_expression "*(undefined8 *)(this + 0x18) = *(undefined8 *)(param_1 + 0x18)" (pointer_expression "*(undefined8 *)(this + 0x18)" * (cast_expression "(undefined8 *)(this + 0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x18)" ( (binary_expression "this + 0x18" identifier + number_literal) )))) = (pointer_expression "*(undefined8 *)(param_1 + 0x18)" * (cast_expression "(undefined8 *)(param_1 + 0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(this + 0x20) = *(undefined8 *)(param_1 + 0x20);" (assignment_expression "*(undefined8 *)(this + 0x20) = *(undefined8 *)(param_1 + 0x20)" (pointer_expression "*(undefined8 *)(this + 0x20)" * (cast_expression "(undefined8 *)(this + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x20)" ( (binary_expression "this + 0x20" identifier + number_literal) )))) = (pointer_expression "*(undefined8 *)(param_1 + 0x20)" * (cast_expression "(undefined8 *)(param_1 + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(this + 0x28) = *(undefined8 *)(param_1 + 0x28);" (assignment_expression "*(undefined8 *)(this + 0x28) = *(undefined8 *)(param_1 + 0x28)" (pointer_expression "*(undefined8 *)(this + 0x28)" * (cast_expression "(undefined8 *)(this + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x28)" ( (binary_expression "this + 0x28" identifier + number_literal) )))) = (pointer_expression "*(undefined8 *)(param_1 + 0x28)" * (cast_expression "(undefined8 *)(param_1 + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(this + 0x30) = *(undefined8 *)(param_1 + 0x30);" (assignment_expression "*(undefined8 *)(this + 0x30) = *(undefined8 *)(param_1 + 0x30)" (pointer_expression "*(undefined8 *)(this + 0x30)" * (cast_expression "(undefined8 *)(this + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x30)" ( (binary_expression "this + 0x30" identifier + number_literal) )))) = (pointer_expression "*(undefined8 *)(param_1 + 0x30)" * (cast_expression "(undefined8 *)(param_1 + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))))) ;) (labeled_statement "locale::locale((locale *)(this + 0x38),(locale *)(param_1 + 0x38));" statement_identifier : (ERROR ":" :) (expression_statement "locale((locale *)(this + 0x38),(locale *)(param_1 + 0x38));" (call_expression "locale((locale *)(this + 0x38),(locale *)(param_1 + 0x38))" identifier (argument_list "((locale *)(this + 0x38),(locale *)(param_1 + 0x38))" ( (cast_expression "(locale *)(this + 0x38)" ( (type_descriptor "locale *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x38)" ( (binary_expression "this + 0x38" identifier + number_literal) ))) , (cast_expression "(locale *)(param_1 + 0x38)" ( (type_descriptor "locale *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))) ))) ;)) (return_statement "return;" return ;) })))
(translation_unit "void FUN_002e4b10(undefined8 *param_1,long param_2)\n\n{\n  *param_1 = &PTR_FUN_004386a0;\n  param_1[1] = *(undefined8 *)(param_2 + 8);\n  param_1[2] = *(undefined8 *)(param_2 + 0x10);\n  param_1[3] = *(undefined8 *)(param_2 + 0x18);\n  param_1[4] = *(undefined8 *)(param_2 + 0x20);\n  param_1[5] = *(undefined8 *)(param_2 + 0x28);\n  param_1[6] = *(undefined8 *)(param_2 + 0x30);\n  FUN_002dca60();\n  return;\n}\n\n" (function_definition "void FUN_002e4b10(undefined8 *param_1,long param_2)\n\n{\n  *param_1 = &PTR_FUN_004386a0;\n  param_1[1] = *(undefined8 *)(param_2 + 8);\n  param_1[2] = *(undefined8 *)(param_2 + 0x10);\n  param_1[3] = *(undefined8 *)(param_2 + 0x18);\n  param_1[4] = *(undefined8 *)(param_2 + 0x20);\n  param_1[5] = *(undefined8 *)(param_2 + 0x28);\n  param_1[6] = *(undefined8 *)(param_2 + 0x30);\n  FUN_002dca60();\n  return;\n}" primitive_type (function_declarator "FUN_002e4b10(undefined8 *param_1,long param_2)" identifier (parameter_list "(undefined8 *param_1,long param_2)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  *param_1 = &PTR_FUN_004386a0;\n  param_1[1] = *(undefined8 *)(param_2 + 8);\n  param_1[2] = *(undefined8 *)(param_2 + 0x10);\n  param_1[3] = *(undefined8 *)(param_2 + 0x18);\n  param_1[4] = *(undefined8 *)(param_2 + 0x20);\n  param_1[5] = *(undefined8 *)(param_2 + 0x28);\n  param_1[6] = *(undefined8 *)(param_2 + 0x30);\n  FUN_002dca60();\n  return;\n}" { (expression_statement "*param_1 = &PTR_FUN_004386a0;" (assignment_expression "*param_1 = &PTR_FUN_004386a0" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_004386a0" & identifier)) ;) (expression_statement "param_1[1] = *(undefined8 *)(param_2 + 8);" (assignment_expression "param_1[1] = *(undefined8 *)(param_2 + 8)" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (pointer_expression "*(undefined8 *)(param_2 + 8)" * (cast_expression "(undefined8 *)(param_2 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (expression_statement "param_1[2] = *(undefined8 *)(param_2 + 0x10);" (assignment_expression "param_1[2] = *(undefined8 *)(param_2 + 0x10)" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (pointer_expression "*(undefined8 *)(param_2 + 0x10)" * (cast_expression "(undefined8 *)(param_2 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "param_1[3] = *(undefined8 *)(param_2 + 0x18);" (assignment_expression "param_1[3] = *(undefined8 *)(param_2 + 0x18)" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (pointer_expression "*(undefined8 *)(param_2 + 0x18)" * (cast_expression "(undefined8 *)(param_2 + 0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "param_1[4] = *(undefined8 *)(param_2 + 0x20);" (assignment_expression "param_1[4] = *(undefined8 *)(param_2 + 0x20)" (subscript_expression "param_1[4]" identifier [ number_literal ]) = (pointer_expression "*(undefined8 *)(param_2 + 0x20)" * (cast_expression "(undefined8 *)(param_2 + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "param_1[5] = *(undefined8 *)(param_2 + 0x28);" (assignment_expression "param_1[5] = *(undefined8 *)(param_2 + 0x28)" (subscript_expression "param_1[5]" identifier [ number_literal ]) = (pointer_expression "*(undefined8 *)(param_2 + 0x28)" * (cast_expression "(undefined8 *)(param_2 + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x28)" ( (binary_expression "param_2 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "param_1[6] = *(undefined8 *)(param_2 + 0x30);" (assignment_expression "param_1[6] = *(undefined8 *)(param_2 + 0x30)" (subscript_expression "param_1[6]" identifier [ number_literal ]) = (pointer_expression "*(undefined8 *)(param_2 + 0x30)" * (cast_expression "(undefined8 *)(param_2 + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x30)" ( (binary_expression "param_2 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "FUN_002dca60();" (call_expression "FUN_002dca60()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void FUN_002e4b10(undefined8 *param_1,long param_2)\n\n{\n  *param_1 = &PTR_FUN_004386a0;\n  param_1[1] = *(undefined8 *)(param_2 + 8);\n  param_1[2] = *(undefined8 *)(param_2 + 0x10);\n  param_1[3] = *(undefined8 *)(param_2 + 0x18);\n  param_1[4] = *(undefined8 *)(param_2 + 0x20);\n  param_1[5] = *(undefined8 *)(param_2 + 0x28);\n  param_1[6] = *(undefined8 *)(param_2 + 0x30);\n  FUN_002dca60();\n  return;\n}" (primitive_type "void") (function_declarator "FUN_002e4b10(undefined8 *param_1,long param_2)" (identifier "FUN_002e4b10") (parameter_list "(undefined8 *param_1,long param_2)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) () ")"))) (compound_statement "{\n  *param_1 = &PTR_FUN_004386a0;\n  param_1[1] = *(undefined8 *)(param_2 + 8);\n  param_1[2] = *(undefined8 *)(param_2 + 0x10);\n  param_1[3] = *(undefined8 *)(param_2 + 0x18);\n  param_1[4] = *(undefined8 *)(param_2 + 0x20);\n  param_1[5] = *(undefined8 *)(param_2 + 0x28);\n  param_1[6] = *(undefined8 *)(param_2 + 0x30);\n  FUN_002dca60();\n  return;\n}" ({ "{") (expression_statement "*param_1 = &PTR_FUN_004386a0;" (assignment_expression "*param_1 = &PTR_FUN_004386a0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&PTR_FUN_004386a0" (& "&") (identifier "PTR_FUN_004386a0"))) (; ";")) (expression_statement "param_1[1] = *(undefined8 *)(param_2 + 8);" (assignment_expression "param_1[1] = *(undefined8 *)(param_2 + 8)" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (pointer_expression "*(undefined8 *)(param_2 + 8)" (* "*") (cast_expression "(undefined8 *)(param_2 + 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "param_1[2] = *(undefined8 *)(param_2 + 0x10);" (assignment_expression "param_1[2] = *(undefined8 *)(param_2 + 0x10)" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (pointer_expression "*(undefined8 *)(param_2 + 0x10)" (* "*") (cast_expression "(undefined8 *)(param_2 + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x10)" (( "(") (binary_expression "param_2 + 0x10" (identifier "param_2") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "param_1[3] = *(undefined8 *)(param_2 + 0x18);" (assignment_expression "param_1[3] = *(undefined8 *)(param_2 + 0x18)" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (pointer_expression "*(undefined8 *)(param_2 + 0x18)" (* "*") (cast_expression "(undefined8 *)(param_2 + 0x18)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x18)" (( "(") (binary_expression "param_2 + 0x18" (identifier "param_2") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "param_1[4] = *(undefined8 *)(param_2 + 0x20);" (assignment_expression "param_1[4] = *(undefined8 *)(param_2 + 0x20)" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (pointer_expression "*(undefined8 *)(param_2 + 0x20)" (* "*") (cast_expression "(undefined8 *)(param_2 + 0x20)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x20)" (( "(") (binary_expression "param_2 + 0x20" (identifier "param_2") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (expression_statement "param_1[5] = *(undefined8 *)(param_2 + 0x28);" (assignment_expression "param_1[5] = *(undefined8 *)(param_2 + 0x28)" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (= "=") (pointer_expression "*(undefined8 *)(param_2 + 0x28)" (* "*") (cast_expression "(undefined8 *)(param_2 + 0x28)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x28)" (( "(") (binary_expression "param_2 + 0x28" (identifier "param_2") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (expression_statement "param_1[6] = *(undefined8 *)(param_2 + 0x30);" (assignment_expression "param_1[6] = *(undefined8 *)(param_2 + 0x30)" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (= "=") (pointer_expression "*(undefined8 *)(param_2 + 0x30)" (* "*") (cast_expression "(undefined8 *)(param_2 + 0x30)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x30)" (( "(") (binary_expression "param_2 + 0x30" (identifier "param_2") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (expression_statement "FUN_002dca60();" (call_expression "FUN_002dca60()" (identifier "FUN_002dca60") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::streambuf::streambuf(std::streambuf const&) */

void __thiscall std::function_1::function_1(function_1 *var_1,function_1 *var_2)

{
  *(type_1 ***)var_1 = &PTR__streambuf_004386a0;
  *(type_2 *)(var_1 + 8) = *(type_2 *)(var_2 + 8);
  *(type_2 *)(var_1 + 0x10) = *(type_2 *)(var_2 + 0x10);
  *(type_2 *)(var_1 + 0x18) = *(type_2 *)(var_2 + 0x18);
  *(type_2 *)(var_1 + 0x20) = *(type_2 *)(var_2 + 0x20);
  *(type_2 *)(var_1 + 0x28) = *(type_2 *)(var_2 + 0x28);
  *(type_2 *)(var_1 + 0x30) = *(type_2 *)(var_2 + 0x30);
  locale::var_3((var_3 *)(var_1 + 0x38),(var_3 *)(var_2 + 0x38));
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (sized_type_specifier) declarator: (identifier)))) body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (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))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (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))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (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))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (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))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (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))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (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))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))))

void MASKED(undefined8 *param_1,long param_2)

{
  *param_1 = &PTR_FUN_004386a0;
  param_1[1] = *(undefined8 *)(param_2 + 8);
  param_1[2] = *(undefined8 *)(param_2 + 0x10);
  param_1[3] = *(undefined8 *)(param_2 + 0x18);
  param_1[4] = *(undefined8 *)(param_2 + 0x20);
  param_1[5] = *(undefined8 *)(param_2 + 0x28);
  param_1[6] = *(undefined8 *)(param_2 + 0x30);
  FUN_002dca60();
  return;
}

