
/* std::wios::tie(std::wostream*) */

undefined8 __thiscall std::wios::tie(wios *this,wostream *param_1)

{
  undefined8 uVar1;
  
  uVar1 = *(undefined8 *)(this + 0xd8);
  *(wostream **)(this + 0xd8) = param_1;
  return uVar1;
}



undefined8 FUN_0029d3e0(long param_1,undefined8 param_2)

{
  undefined8 uVar1;
  
  uVar1 = *(undefined8 *)(param_1 + 0xd8);
  *(undefined8 *)(param_1 + 0xd8) = param_2;
  return uVar1;
}


MOV RAX,qword ptr [RDI + 0xd8]
MOV qword ptr [RDI + 0xd8],RSI
RET
(translation_unit "undefined8 FUN_0029d3e0(long param_1,undefined8 param_2)\n\n{\n  undefined8 uVar1;\n  \n  uVar1 = *(undefined8 *)(param_1 + 0xd8);\n  *(undefined8 *)(param_1 + 0xd8) = param_2;\n  return uVar1;\n}\n\n" (function_definition "undefined8 FUN_0029d3e0(long param_1,undefined8 param_2)\n\n{\n  undefined8 uVar1;\n  \n  uVar1 = *(undefined8 *)(param_1 + 0xd8);\n  *(undefined8 *)(param_1 + 0xd8) = param_2;\n  return uVar1;\n}" type_identifier (function_declarator "FUN_0029d3e0(long param_1,undefined8 param_2)" identifier (parameter_list "(long param_1,undefined8 param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined8 uVar1;\n  \n  uVar1 = *(undefined8 *)(param_1 + 0xd8);\n  *(undefined8 *)(param_1 + 0xd8) = param_2;\n  return uVar1;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = *(undefined8 *)(param_1 + 0xd8);" (assignment_expression "uVar1 = *(undefined8 *)(param_1 + 0xd8)" identifier = (pointer_expression "*(undefined8 *)(param_1 + 0xd8)" * (cast_expression "(undefined8 *)(param_1 + 0xd8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xd8)" ( (binary_expression "param_1 + 0xd8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(param_1 + 0xd8) = param_2;" (assignment_expression "*(undefined8 *)(param_1 + 0xd8) = param_2" (pointer_expression "*(undefined8 *)(param_1 + 0xd8)" * (cast_expression "(undefined8 *)(param_1 + 0xd8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xd8)" ( (binary_expression "param_1 + 0xd8" identifier + number_literal) )))) = identifier) ;) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "/* std::wios::tie(std::wostream*) */\n\nundefined8 __thiscall std::wios::tie(wios *this,wostream *param_1)\n\n{\n  undefined8 uVar1;\n  \n  uVar1 = *(undefined8 *)(this + 0xd8);\n  *(wostream **)(this + 0xd8) = param_1;\n  return uVar1;\n}\n\n" comment (function_definition "undefined8 __thiscall std::wios::tie(wios *this,wostream *param_1)\n\n{\n  undefined8 uVar1;\n  \n  uVar1 = *(undefined8 *)(this + 0xd8);\n  *(wostream **)(this + 0xd8) = param_1;\n  return uVar1;\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::wios::" identifier : : identifier : :) (function_declarator "tie(wios *this,wostream *param_1)" identifier (parameter_list "(wios *this,wostream *param_1)" ( (parameter_declaration "wios *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "wostream *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined8 uVar1;\n  \n  uVar1 = *(undefined8 *)(this + 0xd8);\n  *(wostream **)(this + 0xd8) = param_1;\n  return uVar1;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = *(undefined8 *)(this + 0xd8);" (assignment_expression "uVar1 = *(undefined8 *)(this + 0xd8)" identifier = (pointer_expression "*(undefined8 *)(this + 0xd8)" * (cast_expression "(undefined8 *)(this + 0xd8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xd8)" ( (binary_expression "this + 0xd8" identifier + number_literal) ))))) ;) (expression_statement "*(wostream **)(this + 0xd8) = param_1;" (assignment_expression "*(wostream **)(this + 0xd8) = param_1" (pointer_expression "*(wostream **)(this + 0xd8)" * (cast_expression "(wostream **)(this + 0xd8)" ( (type_descriptor "wostream **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0xd8)" ( (binary_expression "this + 0xd8" identifier + number_literal) )))) = identifier) ;) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "undefined8 FUN_0029d3e0(long param_1,undefined8 param_2)\n\n{\n  undefined8 uVar1;\n  \n  uVar1 = *(undefined8 *)(param_1 + 0xd8);\n  *(undefined8 *)(param_1 + 0xd8) = param_2;\n  return uVar1;\n}\n\n" (function_definition "undefined8 FUN_0029d3e0(long param_1,undefined8 param_2)\n\n{\n  undefined8 uVar1;\n  \n  uVar1 = *(undefined8 *)(param_1 + 0xd8);\n  *(undefined8 *)(param_1 + 0xd8) = param_2;\n  return uVar1;\n}" type_identifier (function_declarator "FUN_0029d3e0(long param_1,undefined8 param_2)" identifier (parameter_list "(long param_1,undefined8 param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined8 uVar1;\n  \n  uVar1 = *(undefined8 *)(param_1 + 0xd8);\n  *(undefined8 *)(param_1 + 0xd8) = param_2;\n  return uVar1;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = *(undefined8 *)(param_1 + 0xd8);" (assignment_expression "uVar1 = *(undefined8 *)(param_1 + 0xd8)" identifier = (pointer_expression "*(undefined8 *)(param_1 + 0xd8)" * (cast_expression "(undefined8 *)(param_1 + 0xd8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xd8)" ( (binary_expression "param_1 + 0xd8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(param_1 + 0xd8) = param_2;" (assignment_expression "*(undefined8 *)(param_1 + 0xd8) = param_2" (pointer_expression "*(undefined8 *)(param_1 + 0xd8)" * (cast_expression "(undefined8 *)(param_1 + 0xd8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xd8)" ( (binary_expression "param_1 + 0xd8" identifier + number_literal) )))) = identifier) ;) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return IDENT ;) })))
(function_definition "undefined8 FUN_0029d3e0(long param_1,undefined8 param_2)\n\n{\n  undefined8 uVar1;\n  \n  uVar1 = *(undefined8 *)(param_1 + 0xd8);\n  *(undefined8 *)(param_1 + 0xd8) = param_2;\n  return uVar1;\n}" (type_identifier "undefined8") (function_declarator "FUN_0029d3e0(long param_1,undefined8 param_2)" (identifier "FUN_0029d3e0") (parameter_list "(long param_1,undefined8 param_2)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined8 uVar1;\n  \n  uVar1 = *(undefined8 *)(param_1 + 0xd8);\n  *(undefined8 *)(param_1 + 0xd8) = param_2;\n  return uVar1;\n}" ({ "{") (declaration "undefined8 uVar1;" (type_identifier "undefined8") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = *(undefined8 *)(param_1 + 0xd8);" (assignment_expression "uVar1 = *(undefined8 *)(param_1 + 0xd8)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined8 *)(param_1 + 0xd8)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0xd8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xd8)" (( "(") (binary_expression "param_1 + 0xd8" (identifier "param_1") (+ "+") (number_literal "0xd8")) () ")"))))) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0xd8) = param_2;" (assignment_expression "*(undefined8 *)(param_1 + 0xd8) = param_2" (pointer_expression "*(undefined8 *)(param_1 + 0xd8)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0xd8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xd8)" (( "(") (binary_expression "param_1 + 0xd8" (identifier "param_1") (+ "+") (number_literal "0xd8")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

/* std::wios::tie(std::wostream*) */

type_1 __thiscall std::type_2::function_1(type_2 *var_1,type_3 *param_1)

{
  type_1 uVar1;
  
  uVar1 = *(type_1 *)(var_1 + 0xd8);
  *(type_3 **)(var_1 + 0xd8) = param_1;
  return uVar1;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) 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: (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 (identifier)))))

undefined8 MASKED(long param_1,undefined8 param_2)

{
  undefined8 uVar1;
  
  uVar1 = *(undefined8 *)(param_1 + 0xd8);
  *(undefined8 *)(param_1 + 0xd8) = param_2;
  return uVar1;
}

