
/* std::wstreambuf::wstreambuf() */

void __thiscall std::wstreambuf::wstreambuf(wstreambuf *this)

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



void FUN_004a8710(undefined8 *param_1)

{
  param_1[1] = 0;
  param_1[2] = 0;
  param_1[3] = 0;
  *param_1 = &PTR_FUN_00676728;
  param_1[4] = 0;
  param_1[5] = 0;
  param_1[6] = 0;
  FUN_004e7ad0();
  return;
}


LEA RAX,[0x676718]
MOV qword ptr [RDI + 0x8],0x0
ADD RDI,0x38
MOV qword ptr [RDI + -0x28],0x0
ADD RAX,0x10
MOV qword ptr [RDI + -0x20],0x0
MOV qword ptr [RDI + -0x38],RAX
MOV qword ptr [RDI + -0x18],0x0
MOV qword ptr [RDI + -0x10],0x0
MOV qword ptr [RDI + -0x8],0x0
JMP 0x004e7ad0
(translation_unit "void FUN_004a8710(undefined8 *param_1)\n\n{\n  param_1[1] = 0;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  *param_1 = &PTR_FUN_00676728;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  FUN_004e7ad0();\n  return;\n}\n\n" (function_definition "void FUN_004a8710(undefined8 *param_1)\n\n{\n  param_1[1] = 0;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  *param_1 = &PTR_FUN_00676728;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  FUN_004e7ad0();\n  return;\n}" primitive_type (function_declarator "FUN_004a8710(undefined8 *param_1)" identifier (parameter_list "(undefined8 *param_1)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  param_1[1] = 0;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  *param_1 = &PTR_FUN_00676728;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  FUN_004e7ad0();\n  return;\n}" { (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = &PTR_FUN_00676728;" (assignment_expression "*param_1 = &PTR_FUN_00676728" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_00676728" & identifier)) ;) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "FUN_004e7ad0();" (call_expression "FUN_004e7ad0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* std::wstreambuf::wstreambuf() */\n\nvoid __thiscall std::wstreambuf::wstreambuf(wstreambuf *this)\n\n{\n  *(undefined8 *)(this + 8) = 0;\n  *(undefined8 *)(this + 0x10) = 0;\n  *(undefined8 *)(this + 0x18) = 0;\n  *(undefined ***)this = &PTR__wstreambuf_00676728;\n  *(undefined8 *)(this + 0x20) = 0;\n  *(undefined8 *)(this + 0x28) = 0;\n  *(undefined8 *)(this + 0x30) = 0;\n  locale::locale((locale *)(this + 0x38));\n  return;\n}\n\n" comment (function_definition "void __thiscall std::wstreambuf::wstreambuf(wstreambuf *this)\n\n{\n  *(undefined8 *)(this + 8) = 0;\n  *(undefined8 *)(this + 0x10) = 0;\n  *(undefined8 *)(this + 0x18) = 0;\n  *(undefined ***)this = &PTR__wstreambuf_00676728;\n  *(undefined8 *)(this + 0x20) = 0;\n  *(undefined8 *)(this + 0x28) = 0;\n  *(undefined8 *)(this + 0x30) = 0;\n  locale::locale((locale *)(this + 0x38));\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::wstreambuf::" identifier : : identifier : :) (function_declarator "wstreambuf(wstreambuf *this)" identifier (parameter_list "(wstreambuf *this)" ( (parameter_declaration "wstreambuf *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  *(undefined8 *)(this + 8) = 0;\n  *(undefined8 *)(this + 0x10) = 0;\n  *(undefined8 *)(this + 0x18) = 0;\n  *(undefined ***)this = &PTR__wstreambuf_00676728;\n  *(undefined8 *)(this + 0x20) = 0;\n  *(undefined8 *)(this + 0x28) = 0;\n  *(undefined8 *)(this + 0x30) = 0;\n  locale::locale((locale *)(this + 0x38));\n  return;\n}" { (expression_statement "*(undefined8 *)(this + 8) = 0;" (assignment_expression "*(undefined8 *)(this + 8) = 0" (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) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(this + 0x10) = 0;" (assignment_expression "*(undefined8 *)(this + 0x10) = 0" (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) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(this + 0x18) = 0;" (assignment_expression "*(undefined8 *)(this + 0x18) = 0" (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) )))) = number_literal) ;) (expression_statement "*(undefined ***)this = &PTR__wstreambuf_00676728;" (assignment_expression "*(undefined ***)this = &PTR__wstreambuf_00676728" (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__wstreambuf_00676728" & identifier)) ;) (expression_statement "*(undefined8 *)(this + 0x20) = 0;" (assignment_expression "*(undefined8 *)(this + 0x20) = 0" (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) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(this + 0x28) = 0;" (assignment_expression "*(undefined8 *)(this + 0x28) = 0" (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) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(this + 0x30) = 0;" (assignment_expression "*(undefined8 *)(this + 0x30) = 0" (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) )))) = number_literal) ;) (labeled_statement "locale::locale((locale *)(this + 0x38));" statement_identifier : (ERROR ":" :) (expression_statement "locale((locale *)(this + 0x38));" (call_expression "locale((locale *)(this + 0x38))" identifier (argument_list "((locale *)(this + 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) ))) ))) ;)) (return_statement "return;" return ;) })))
(translation_unit "void FUN_004a8710(undefined8 *param_1)\n\n{\n  param_1[1] = 0;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  *param_1 = &PTR_FUN_00676728;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  FUN_004e7ad0();\n  return;\n}\n\n" (function_definition "void FUN_004a8710(undefined8 *param_1)\n\n{\n  param_1[1] = 0;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  *param_1 = &PTR_FUN_00676728;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  FUN_004e7ad0();\n  return;\n}" primitive_type (function_declarator "FUN_004a8710(undefined8 *param_1)" identifier (parameter_list "(undefined8 *param_1)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  param_1[1] = 0;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  *param_1 = &PTR_FUN_00676728;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  FUN_004e7ad0();\n  return;\n}" { (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = &PTR_FUN_00676728;" (assignment_expression "*param_1 = &PTR_FUN_00676728" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_00676728" & identifier)) ;) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "FUN_004e7ad0();" (call_expression "FUN_004e7ad0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void FUN_004a8710(undefined8 *param_1)\n\n{\n  param_1[1] = 0;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  *param_1 = &PTR_FUN_00676728;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  FUN_004e7ad0();\n  return;\n}" (primitive_type "void") (function_declarator "FUN_004a8710(undefined8 *param_1)" (identifier "FUN_004a8710") (parameter_list "(undefined8 *param_1)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  param_1[1] = 0;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  *param_1 = &PTR_FUN_00676728;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  FUN_004e7ad0();\n  return;\n}" ({ "{") (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_1 = &PTR_FUN_00676728;" (assignment_expression "*param_1 = &PTR_FUN_00676728" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&PTR_FUN_00676728" (& "&") (identifier "PTR_FUN_00676728"))) (; ";")) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_004e7ad0();" (call_expression "FUN_004e7ad0()" (identifier "FUN_004e7ad0") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::wstreambuf::wstreambuf() */

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

{
  *(type_1 *)(var_1 + 8) = 0;
  *(type_1 *)(var_1 + 0x10) = 0;
  *(type_1 *)(var_1 + 0x18) = 0;
  *(type_2 ***)var_1 = &PTR__wstreambuf_00676728;
  *(type_1 *)(var_1 + 0x20) = 0;
  *(type_1 *)(var_1 + 0x28) = 0;
  *(type_1 *)(var_1 + 0x30) = 0;
  locale::var_2((var_2 *)(var_1 + 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))))) body: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (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: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))))

void MASKED(undefined8 *param_1)

{
  param_1[1] = 0;
  param_1[2] = 0;
  param_1[3] = 0;
  *param_1 = &PTR_FUN_00676728;
  param_1[4] = 0;
  param_1[5] = 0;
  param_1[6] = 0;
  FUN_004e7ad0();
  return;
}

