
/* stdio_sync_filebuf<char, std::char_traits<char> >::stdio_sync_filebuf(_IO_FILE*) */

void __thiscall
stdio_sync_filebuf<char,std::char_traits<char>>::stdio_sync_filebuf
          (stdio_sync_filebuf<char,std::char_traits<char>> *this,_IO_FILE *param_1)

{
  *(undefined8 *)(this + 8) = 0;
  *(undefined8 *)(this + 0x10) = 0;
  *(undefined8 *)(this + 0x18) = 0;
  *(undefined ***)this = &PTR__streambuf_004386a0;
  *(undefined8 *)(this + 0x20) = 0;
  *(undefined8 *)(this + 0x28) = 0;
  *(undefined8 *)(this + 0x30) = 0;
  std::locale::locale((locale *)(this + 0x38));
  *(_IO_FILE **)(this + 0x40) = param_1;
  *(undefined4 *)(this + 0x48) = 0xffffffff;
  *(undefined ***)this = &PTR__stdio_sync_filebuf_00439d98;
  return;
}



void FUN_0030c480(undefined8 *param_1,undefined8 param_2)

{
  param_1[1] = 0;
  param_1[2] = 0;
  param_1[3] = 0;
  *param_1 = &PTR_FUN_004386a0;
  param_1[4] = 0;
  param_1[5] = 0;
  param_1[6] = 0;
  FUN_00324400();
  param_1[8] = param_2;
  *(undefined4 *)(param_1 + 9) = 0xffffffff;
  *param_1 = &PTR_FUN_00439d98;
  return;
}


PUSH RBP
MOV RBP,RSI
PUSH RBX
MOV RBX,RDI
LEA RDI,[RDI + 0x38]
SUB RSP,0x8
LEA RAX,[0x438690]
MOV qword ptr [RDI + -0x30],0x0
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
CALL 0x00324400
LEA RAX,[0x439d88]
MOV qword ptr [RBX + 0x40],RBP
MOV dword ptr [RBX + 0x48],0xffffffff
ADD RAX,0x10
MOV qword ptr [RBX],RAX
ADD RSP,0x8
POP RBX
POP RBP
RET
(translation_unit "void FUN_0030c480(undefined8 *param_1,undefined8 param_2)\n\n{\n  param_1[1] = 0;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  *param_1 = &PTR_FUN_004386a0;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  FUN_00324400();\n  param_1[8] = param_2;\n  *(undefined4 *)(param_1 + 9) = 0xffffffff;\n  *param_1 = &PTR_FUN_00439d98;\n  return;\n}\n\n" (function_definition "void FUN_0030c480(undefined8 *param_1,undefined8 param_2)\n\n{\n  param_1[1] = 0;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  *param_1 = &PTR_FUN_004386a0;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  FUN_00324400();\n  param_1[8] = param_2;\n  *(undefined4 *)(param_1 + 9) = 0xffffffff;\n  *param_1 = &PTR_FUN_00439d98;\n  return;\n}" primitive_type (function_declarator "FUN_0030c480(undefined8 *param_1,undefined8 param_2)" identifier (parameter_list "(undefined8 *param_1,undefined8 param_2)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 param_2" type_identifier identifier) ))) (compound_statement "{\n  param_1[1] = 0;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  *param_1 = &PTR_FUN_004386a0;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  FUN_00324400();\n  param_1[8] = param_2;\n  *(undefined4 *)(param_1 + 9) = 0xffffffff;\n  *param_1 = &PTR_FUN_00439d98;\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_004386a0;" (assignment_expression "*param_1 = &PTR_FUN_004386a0" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_004386a0" & 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_00324400();" (call_expression "FUN_00324400()" identifier (argument_list "()" ( ))) ;) (expression_statement "param_1[8] = param_2;" (assignment_expression "param_1[8] = param_2" (subscript_expression "param_1[8]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 9) = 0xffffffff;" (assignment_expression "*(undefined4 *)(param_1 + 9) = 0xffffffff" (pointer_expression "*(undefined4 *)(param_1 + 9)" * (cast_expression "(undefined4 *)(param_1 + 9)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 9)" ( (binary_expression "param_1 + 9" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*param_1 = &PTR_FUN_00439d98;" (assignment_expression "*param_1 = &PTR_FUN_00439d98" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_00439d98" & identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit "/* stdio_sync_filebuf<char, std::char_traits<char> >::stdio_sync_filebuf(_IO_FILE*) */\n\nvoid __thiscall\nstdio_sync_filebuf<char,std::char_traits<char>>::stdio_sync_filebuf\n          (stdio_sync_filebuf<char,std::char_traits<char>> *this,_IO_FILE *param_1)\n\n{\n  *(undefined8 *)(this + 8) = 0;\n  *(undefined8 *)(this + 0x10) = 0;\n  *(undefined8 *)(this + 0x18) = 0;\n  *(undefined ***)this = &PTR__streambuf_004386a0;\n  *(undefined8 *)(this + 0x20) = 0;\n  *(undefined8 *)(this + 0x28) = 0;\n  *(undefined8 *)(this + 0x30) = 0;\n  std::locale::locale((locale *)(this + 0x38));\n  *(_IO_FILE **)(this + 0x40) = param_1;\n  *(undefined4 *)(this + 0x48) = 0xffffffff;\n  *(undefined ***)this = &PTR__stdio_sync_filebuf_00439d98;\n  return;\n}\n\n" comment (declaration "void __thiscall\nstdio_sync_filebuf<char,std::char_traits<char>>::stdio_sync_filebuf\n          (stdio_sync_filebuf<char,std::char_traits<char>> *this,_IO_FILE *param_1)\n\n{\n  *(undefined8 *)(this + 8) = 0;" primitive_type (ms_call_modifier "__thiscall" __thiscall) identifier (ERROR "<char" < primitive_type) , (ERROR "std::char_traits<char>>::stdio_sync_filebuf\n          (stdio_sync_filebuf<char,std::char_traits<char>> *this,_IO_FILE *param_1)\n\n{" identifier : : identifier < primitive_type >> : : (function_declarator "stdio_sync_filebuf\n          (stdio_sync_filebuf<char,std::char_traits<char>> *this,_IO_FILE *param_1)" identifier (parameter_list "(stdio_sync_filebuf<char,std::char_traits<char>> *this,_IO_FILE *param_1)" ( (parameter_declaration "stdio_sync_filebuf" type_identifier) (ERROR "<char" < primitive_type) , (parameter_declaration "std::char_traits<char>> *this" type_identifier (ERROR "::char_traits<char>>" : : identifier < primitive_type >>) (pointer_declarator "*this" * identifier)) , (parameter_declaration "_IO_FILE *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) {) (init_declarator "*(undefined8 *)(this + 8) = 0" (pointer_declarator "*(undefined8 *)(this + 8)" * (function_declarator "(undefined8 *)(this + 8)" (parenthesized_declarator "(undefined8 *)" ( identifier (ERROR "*" *) )) (parameter_list "(this + 8)" ( (parameter_declaration "this" type_identifier) (ERROR "+ 8" + 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__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 + 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 "std::locale::locale((locale *)(this + 0x38));" statement_identifier : (ERROR ":" :) (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) ))) ))) ;))) (expression_statement "*(_IO_FILE **)(this + 0x40) = param_1;" (assignment_expression "*(_IO_FILE **)(this + 0x40) = param_1" (pointer_expression "*(_IO_FILE **)(this + 0x40)" * (cast_expression "(_IO_FILE **)(this + 0x40)" ( (type_descriptor "_IO_FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x40)" ( (binary_expression "this + 0x40" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(this + 0x48) = 0xffffffff;" (assignment_expression "*(undefined4 *)(this + 0x48) = 0xffffffff" (pointer_expression "*(undefined4 *)(this + 0x48)" * (cast_expression "(undefined4 *)(this + 0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x48)" ( (binary_expression "this + 0x48" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined ***)this = &PTR__stdio_sync_filebuf_00439d98;" (assignment_expression "*(undefined ***)this = &PTR__stdio_sync_filebuf_00439d98" (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__stdio_sync_filebuf_00439d98" & identifier)) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_0030c480(undefined8 *param_1,undefined8 param_2)\n\n{\n  param_1[1] = 0;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  *param_1 = &PTR_FUN_004386a0;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  FUN_00324400();\n  param_1[8] = param_2;\n  *(undefined4 *)(param_1 + 9) = 0xffffffff;\n  *param_1 = &PTR_FUN_00439d98;\n  return;\n}\n\n" (function_definition "void FUN_0030c480(undefined8 *param_1,undefined8 param_2)\n\n{\n  param_1[1] = 0;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  *param_1 = &PTR_FUN_004386a0;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  FUN_00324400();\n  param_1[8] = param_2;\n  *(undefined4 *)(param_1 + 9) = 0xffffffff;\n  *param_1 = &PTR_FUN_00439d98;\n  return;\n}" primitive_type (function_declarator "FUN_0030c480(undefined8 *param_1,undefined8 param_2)" identifier (parameter_list "(undefined8 *param_1,undefined8 param_2)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 param_2" type_identifier identifier) ))) (compound_statement "{\n  param_1[1] = 0;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  *param_1 = &PTR_FUN_004386a0;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  FUN_00324400();\n  param_1[8] = param_2;\n  *(undefined4 *)(param_1 + 9) = 0xffffffff;\n  *param_1 = &PTR_FUN_00439d98;\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_004386a0;" (assignment_expression "*param_1 = &PTR_FUN_004386a0" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_004386a0" & 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_00324400();" (call_expression "FUN_00324400()" identifier (argument_list "()" ( ))) ;) (expression_statement "param_1[8] = param_2;" (assignment_expression "param_1[8] = param_2" (subscript_expression "param_1[8]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 9) = 0xffffffff;" (assignment_expression "*(undefined4 *)(param_1 + 9) = 0xffffffff" (pointer_expression "*(undefined4 *)(param_1 + 9)" * (cast_expression "(undefined4 *)(param_1 + 9)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 9)" ( (binary_expression "param_1 + 9" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*param_1 = &PTR_FUN_00439d98;" (assignment_expression "*param_1 = &PTR_FUN_00439d98" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_00439d98" & identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE 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 ( ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression & IDENT)) ;) (return_statement return ;) })))
(function_definition "void FUN_0030c480(undefined8 *param_1,undefined8 param_2)\n\n{\n  param_1[1] = 0;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  *param_1 = &PTR_FUN_004386a0;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  FUN_00324400();\n  param_1[8] = param_2;\n  *(undefined4 *)(param_1 + 9) = 0xffffffff;\n  *param_1 = &PTR_FUN_00439d98;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0030c480(undefined8 *param_1,undefined8 param_2)" (identifier "FUN_0030c480") (parameter_list "(undefined8 *param_1,undefined8 param_2)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) () ")"))) (compound_statement "{\n  param_1[1] = 0;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  *param_1 = &PTR_FUN_004386a0;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  FUN_00324400();\n  param_1[8] = param_2;\n  *(undefined4 *)(param_1 + 9) = 0xffffffff;\n  *param_1 = &PTR_FUN_00439d98;\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_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[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_00324400();" (call_expression "FUN_00324400()" (identifier "FUN_00324400") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "param_1[8] = param_2;" (assignment_expression "param_1[8] = param_2" (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 9) = 0xffffffff;" (assignment_expression "*(undefined4 *)(param_1 + 9) = 0xffffffff" (pointer_expression "*(undefined4 *)(param_1 + 9)" (* "*") (cast_expression "(undefined4 *)(param_1 + 9)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 9)" (( "(") (binary_expression "param_1 + 9" (identifier "param_1") (+ "+") (number_literal "9")) () ")")))) (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "*param_1 = &PTR_FUN_00439d98;" (assignment_expression "*param_1 = &PTR_FUN_00439d98" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&PTR_FUN_00439d98" (& "&") (identifier "PTR_FUN_00439d98"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* stdio_sync_filebuf<char, std::char_traits<char> >::stdio_sync_filebuf(_IO_FILE*) */

void __thiscall
stdio_sync_filebuf<char,std::char_traits<char>>::stdio_sync_filebuf
          (stdio_sync_filebuf<char,std::char_traits<char>> *type_1,type_3 *param_1)

{
  *(function_1 *)(type_1 + 8) = 0;
  *(function_1 *)(type_1 + 0x10) = 0;
  *(function_1 *)(type_1 + 0x18) = 0;
  *(type_2 ***)type_1 = &PTR__streambuf_004386a0;
  *(function_1 *)(type_1 + 0x20) = 0;
  *(function_1 *)(type_1 + 0x28) = 0;
  *(function_1 *)(type_1 + 0x30) = 0;
  std::locale::var_1((var_1 *)(type_1 + 0x38));
  *(type_3 **)(type_1 + 0x40) = param_1;
  *(type_4 *)(type_1 + 0x48) = 0xffffffff;
  *(type_2 ***)type_1 = &PTR__stdio_sync_filebuf_00439d98;
  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: (type_identifier) 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))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (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: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (return_statement))))

void MASKED(undefined8 *param_1,undefined8 param_2)

{
  param_1[1] = 0;
  param_1[2] = 0;
  param_1[3] = 0;
  *param_1 = &PTR_FUN_004386a0;
  param_1[4] = 0;
  param_1[5] = 0;
  param_1[6] = 0;
  FUN_00324400();
  param_1[8] = param_2;
  *(undefined4 *)(param_1 + 9) = 0xffffffff;
  *param_1 = &PTR_FUN_00439d98;
  return;
}

