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

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

{
  undefined *puVar1;
  undefined4 uVar2;
  
  (*(code *)PTR_streambuf_0043605c)();
  uVar2 = *(undefined4 *)(param_1 + 0x24);
  *(undefined4 *)(this + 0x20) = *(undefined4 *)(param_1 + 0x20);
  puVar1 = PTR_vtable_00435dd8;
  *(undefined4 *)(this + 0x24) = uVar2;
  *(undefined **)this = puVar1 + 8;
  *(undefined4 *)(param_1 + 0x20) = 0;
  *(undefined4 *)(param_1 + 0x24) = 0xffffffff;
  return;
}



void FUN_002f9e18(undefined4 *param_1,int param_2)

{
  undefined *puVar1;
  undefined4 uVar2;
  
  (*(code *)PTR_streambuf_0043605c)();
  uVar2 = *(undefined4 *)(param_2 + 0x24);
  param_1[8] = *(undefined4 *)(param_2 + 0x20);
  puVar1 = PTR_vtable_00435dd8;
  param_1[9] = uVar2;
  *param_1 = puVar1 + 8;
  *(undefined4 *)(param_2 + 0x20) = 0;
  *(undefined4 *)(param_2 + 0x24) = 0xffffffff;
  return;
}


lui gp,0x14
addiu gp,gp,0x3b8
addu gp,gp,t9
addiu sp,sp,-0x28
lw t9,-0x4174(gp)
sw s1,0x20(sp)
or s1,a0,zero
sw s0,0x1c(sp)
sw ra,0x24(sp)
sw gp,0x10(sp)
jalr t9
_or s0,a1,zero
lw gp,0x10(sp)
lw v0,0x20(s0)
lw v1,0x24(s0)
lw ra,0x24(sp)
sw v0,0x20(s1)
lw v0,-0x43f8(gp)
sw v1,0x24(s1)
addiu v0,v0,0x8
sw v0,0x0(s1)
li v0,-0x1
sw zero,0x20(s0)
sw v0,0x24(s0)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "void FUN_002f9e18(undefined4 *param_1,int param_2)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  (*(code *)PTR_streambuf_0043605c)();\n  uVar2 = *(undefined4 *)(param_2 + 0x24);\n  param_1[8] = *(undefined4 *)(param_2 + 0x20);\n  puVar1 = PTR_vtable_00435dd8;\n  param_1[9] = uVar2;\n  *param_1 = puVar1 + 8;\n  *(undefined4 *)(param_2 + 0x20) = 0;\n  *(undefined4 *)(param_2 + 0x24) = 0xffffffff;\n  return;\n}\n\n" (function_definition "void FUN_002f9e18(undefined4 *param_1,int param_2)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  (*(code *)PTR_streambuf_0043605c)();\n  uVar2 = *(undefined4 *)(param_2 + 0x24);\n  param_1[8] = *(undefined4 *)(param_2 + 0x20);\n  puVar1 = PTR_vtable_00435dd8;\n  param_1[9] = uVar2;\n  *param_1 = puVar1 + 8;\n  *(undefined4 *)(param_2 + 0x20) = 0;\n  *(undefined4 *)(param_2 + 0x24) = 0xffffffff;\n  return;\n}" primitive_type (function_declarator "FUN_002f9e18(undefined4 *param_1,int param_2)" identifier (parameter_list "(undefined4 *param_1,int param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  (*(code *)PTR_streambuf_0043605c)();\n  uVar2 = *(undefined4 *)(param_2 + 0x24);\n  param_1[8] = *(undefined4 *)(param_2 + 0x20);\n  puVar1 = PTR_vtable_00435dd8;\n  param_1[9] = uVar2;\n  *param_1 = puVar1 + 8;\n  *(undefined4 *)(param_2 + 0x20) = 0;\n  *(undefined4 *)(param_2 + 0x24) = 0xffffffff;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "(*(code *)PTR_streambuf_0043605c)();" (call_expression "(*(code *)PTR_streambuf_0043605c)()" (parenthesized_expression "(*(code *)PTR_streambuf_0043605c)" ( (pointer_expression "*(code *)PTR_streambuf_0043605c" * (cast_expression "(code *)PTR_streambuf_0043605c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "uVar2 = *(undefined4 *)(param_2 + 0x24);" (assignment_expression "uVar2 = *(undefined4 *)(param_2 + 0x24)" identifier = (pointer_expression "*(undefined4 *)(param_2 + 0x24)" * (cast_expression "(undefined4 *)(param_2 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x24)" ( (binary_expression "param_2 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "param_1[8] = *(undefined4 *)(param_2 + 0x20);" (assignment_expression "param_1[8] = *(undefined4 *)(param_2 + 0x20)" (subscript_expression "param_1[8]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(param_2 + 0x20)" * (cast_expression "(undefined4 *)(param_2 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "puVar1 = PTR_vtable_00435dd8;" (assignment_expression "puVar1 = PTR_vtable_00435dd8" identifier = identifier) ;) (expression_statement "param_1[9] = uVar2;" (assignment_expression "param_1[9] = uVar2" (subscript_expression "param_1[9]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*param_1 = puVar1 + 8;" (assignment_expression "*param_1 = puVar1 + 8" (pointer_expression "*param_1" * identifier) = (binary_expression "puVar1 + 8" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(param_2 + 0x20) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 0x20) = 0" (pointer_expression "*(undefined4 *)(param_2 + 0x20)" * (cast_expression "(undefined4 *)(param_2 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_2 + 0x24) = 0xffffffff;" (assignment_expression "*(undefined4 *)(param_2 + 0x24) = 0xffffffff" (pointer_expression "*(undefined4 *)(param_2 + 0x24)" * (cast_expression "(undefined4 *)(param_2 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x24)" ( (binary_expression "param_2 + 0x24" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* stdio_sync_filebuf<char, std::char_traits<char> >::stdio_sync_filebuf(stdio_sync_filebuf<char,\n   std::char_traits<char> >&&) */\n\nvoid __thiscall\nstdio_sync_filebuf<char,std::char_traits<char>>::stdio_sync_filebuf\n          (stdio_sync_filebuf<char,std::char_traits<char>> *this,stdio_sync_filebuf *param_1)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  (*(code *)PTR_streambuf_0043605c)();\n  uVar2 = *(undefined4 *)(param_1 + 0x24);\n  *(undefined4 *)(this + 0x20) = *(undefined4 *)(param_1 + 0x20);\n  puVar1 = PTR_vtable_00435dd8;\n  *(undefined4 *)(this + 0x24) = uVar2;\n  *(undefined **)this = puVar1 + 8;\n  *(undefined4 *)(param_1 + 0x20) = 0;\n  *(undefined4 *)(param_1 + 0x24) = 0xffffffff;\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,stdio_sync_filebuf *param_1)\n\n{\n  undefined *puVar1;" 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,stdio_sync_filebuf *param_1)\n\n{\n  undefined" identifier : : identifier < primitive_type >> : : (function_declarator "stdio_sync_filebuf\n          (stdio_sync_filebuf<char,std::char_traits<char>> *this,stdio_sync_filebuf *param_1)" identifier (parameter_list "(stdio_sync_filebuf<char,std::char_traits<char>> *this,stdio_sync_filebuf *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 "stdio_sync_filebuf *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) { identifier) (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "(*(code *)PTR_streambuf_0043605c)();" (call_expression "(*(code *)PTR_streambuf_0043605c)()" (parenthesized_expression "(*(code *)PTR_streambuf_0043605c)" ( (pointer_expression "*(code *)PTR_streambuf_0043605c" * (cast_expression "(code *)PTR_streambuf_0043605c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x24);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x24)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x24)" * (cast_expression "(undefined4 *)(param_1 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(this + 0x20) = *(undefined4 *)(param_1 + 0x20);" (assignment_expression "*(undefined4 *)(this + 0x20) = *(undefined4 *)(param_1 + 0x20)" (pointer_expression "*(undefined4 *)(this + 0x20)" * (cast_expression "(undefined4 *)(this + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x20)" ( (binary_expression "this + 0x20" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(param_1 + 0x20)" * (cast_expression "(undefined4 *)(param_1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "puVar1 = PTR_vtable_00435dd8;" (assignment_expression "puVar1 = PTR_vtable_00435dd8" identifier = identifier) ;) (expression_statement "*(undefined4 *)(this + 0x24) = uVar2;" (assignment_expression "*(undefined4 *)(this + 0x24) = uVar2" (pointer_expression "*(undefined4 *)(this + 0x24)" * (cast_expression "(undefined4 *)(this + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x24)" ( (binary_expression "this + 0x24" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined **)this = puVar1 + 8;" (assignment_expression "*(undefined **)this = puVar1 + 8" (pointer_expression "*(undefined **)this" * (cast_expression "(undefined **)this" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = (binary_expression "puVar1 + 8" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(param_1 + 0x20) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x20) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x20)" * (cast_expression "(undefined4 *)(param_1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x24) = 0xffffffff;" (assignment_expression "*(undefined4 *)(param_1 + 0x24) = 0xffffffff" (pointer_expression "*(undefined4 *)(param_1 + 0x24)" * (cast_expression "(undefined4 *)(param_1 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_002f9e18(undefined4 *param_1,int param_2)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  (*(code *)PTR_streambuf_0043605c)();\n  uVar2 = *(undefined4 *)(param_2 + 0x24);\n  param_1[8] = *(undefined4 *)(param_2 + 0x20);\n  puVar1 = PTR_vtable_00435dd8;\n  param_1[9] = uVar2;\n  *param_1 = puVar1 + 8;\n  *(undefined4 *)(param_2 + 0x20) = 0;\n  *(undefined4 *)(param_2 + 0x24) = 0xffffffff;\n  return;\n}\n\n" (function_definition "void FUN_002f9e18(undefined4 *param_1,int param_2)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  (*(code *)PTR_streambuf_0043605c)();\n  uVar2 = *(undefined4 *)(param_2 + 0x24);\n  param_1[8] = *(undefined4 *)(param_2 + 0x20);\n  puVar1 = PTR_vtable_00435dd8;\n  param_1[9] = uVar2;\n  *param_1 = puVar1 + 8;\n  *(undefined4 *)(param_2 + 0x20) = 0;\n  *(undefined4 *)(param_2 + 0x24) = 0xffffffff;\n  return;\n}" primitive_type (function_declarator "FUN_002f9e18(undefined4 *param_1,int param_2)" identifier (parameter_list "(undefined4 *param_1,int param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  (*(code *)PTR_streambuf_0043605c)();\n  uVar2 = *(undefined4 *)(param_2 + 0x24);\n  param_1[8] = *(undefined4 *)(param_2 + 0x20);\n  puVar1 = PTR_vtable_00435dd8;\n  param_1[9] = uVar2;\n  *param_1 = puVar1 + 8;\n  *(undefined4 *)(param_2 + 0x20) = 0;\n  *(undefined4 *)(param_2 + 0x24) = 0xffffffff;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "(*(code *)PTR_streambuf_0043605c)();" (call_expression "(*(code *)PTR_streambuf_0043605c)()" (parenthesized_expression "(*(code *)PTR_streambuf_0043605c)" ( (pointer_expression "*(code *)PTR_streambuf_0043605c" * (cast_expression "(code *)PTR_streambuf_0043605c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "uVar2 = *(undefined4 *)(param_2 + 0x24);" (assignment_expression "uVar2 = *(undefined4 *)(param_2 + 0x24)" identifier = (pointer_expression "*(undefined4 *)(param_2 + 0x24)" * (cast_expression "(undefined4 *)(param_2 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x24)" ( (binary_expression "param_2 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "param_1[8] = *(undefined4 *)(param_2 + 0x20);" (assignment_expression "param_1[8] = *(undefined4 *)(param_2 + 0x20)" (subscript_expression "param_1[8]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(param_2 + 0x20)" * (cast_expression "(undefined4 *)(param_2 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "puVar1 = PTR_vtable_00435dd8;" (assignment_expression "puVar1 = PTR_vtable_00435dd8" identifier = identifier) ;) (expression_statement "param_1[9] = uVar2;" (assignment_expression "param_1[9] = uVar2" (subscript_expression "param_1[9]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*param_1 = puVar1 + 8;" (assignment_expression "*param_1 = puVar1 + 8" (pointer_expression "*param_1" * identifier) = (binary_expression "puVar1 + 8" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(param_2 + 0x20) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 0x20) = 0" (pointer_expression "*(undefined4 *)(param_2 + 0x20)" * (cast_expression "(undefined4 *)(param_2 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_2 + 0x24) = 0xffffffff;" (assignment_expression "*(undefined4 *)(param_2 + 0x24) = 0xffffffff" (pointer_expression "*(undefined4 *)(param_2 + 0x24)" * (cast_expression "(undefined4 *)(param_2 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x24)" ( (binary_expression "param_2 + 0x24" identifier + number_literal) )))) = number_literal) ;) (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 { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (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 (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_002f9e18(undefined4 *param_1,int param_2)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  (*(code *)PTR_streambuf_0043605c)();\n  uVar2 = *(undefined4 *)(param_2 + 0x24);\n  param_1[8] = *(undefined4 *)(param_2 + 0x20);\n  puVar1 = PTR_vtable_00435dd8;\n  param_1[9] = uVar2;\n  *param_1 = puVar1 + 8;\n  *(undefined4 *)(param_2 + 0x20) = 0;\n  *(undefined4 *)(param_2 + 0x24) = 0xffffffff;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_002f9e18(undefined4 *param_1,int param_2)" (identifier "FUN_002f9e18") (parameter_list "(undefined4 *param_1,int param_2)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  (*(code *)PTR_streambuf_0043605c)();\n  uVar2 = *(undefined4 *)(param_2 + 0x24);\n  param_1[8] = *(undefined4 *)(param_2 + 0x20);\n  puVar1 = PTR_vtable_00435dd8;\n  param_1[9] = uVar2;\n  *param_1 = puVar1 + 8;\n  *(undefined4 *)(param_2 + 0x20) = 0;\n  *(undefined4 *)(param_2 + 0x24) = 0xffffffff;\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "(*(code *)PTR_streambuf_0043605c)();" (call_expression "(*(code *)PTR_streambuf_0043605c)()" (parenthesized_expression "(*(code *)PTR_streambuf_0043605c)" (( "(") (pointer_expression "*(code *)PTR_streambuf_0043605c" (* "*") (cast_expression "(code *)PTR_streambuf_0043605c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_streambuf_0043605c"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar2 = *(undefined4 *)(param_2 + 0x24);" (assignment_expression "uVar2 = *(undefined4 *)(param_2 + 0x24)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(param_2 + 0x24)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x24)" (( "(") (binary_expression "param_2 + 0x24" (identifier "param_2") (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (expression_statement "param_1[8] = *(undefined4 *)(param_2 + 0x20);" (assignment_expression "param_1[8] = *(undefined4 *)(param_2 + 0x20)" (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]")) (= "=") (pointer_expression "*(undefined4 *)(param_2 + 0x20)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x20)" (( "(") (binary_expression "param_2 + 0x20" (identifier "param_2") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (expression_statement "puVar1 = PTR_vtable_00435dd8;" (assignment_expression "puVar1 = PTR_vtable_00435dd8" (identifier "puVar1") (= "=") (identifier "PTR_vtable_00435dd8")) (; ";")) (expression_statement "param_1[9] = uVar2;" (assignment_expression "param_1[9] = uVar2" (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "*param_1 = puVar1 + 8;" (assignment_expression "*param_1 = puVar1 + 8" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "puVar1 + 8" (identifier "puVar1") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 0x20) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 0x20) = 0" (pointer_expression "*(undefined4 *)(param_2 + 0x20)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x20)" (( "(") (binary_expression "param_2 + 0x20" (identifier "param_2") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 0x24) = 0xffffffff;" (assignment_expression "*(undefined4 *)(param_2 + 0x24) = 0xffffffff" (pointer_expression "*(undefined4 *)(param_2 + 0x24)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x24)" (( "(") (binary_expression "param_2 + 0x24" (identifier "param_2") (+ "+") (number_literal "0x24")) () ")")))) (= "=") (number_literal "0xffffffff")) (; ";")) (return_statement "return;" (return "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: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) (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: (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: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (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: (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: (number_literal))) (return_statement))))

void MASKED(undefined4 *param_1,int param_2)

{
  undefined *puVar1;
  undefined4 uVar2;
  
  (*(code *)PTR_streambuf_0043605c)();
  uVar2 = *(undefined4 *)(param_2 + 0x24);
  param_1[8] = *(undefined4 *)(param_2 + 0x20);
  puVar1 = PTR_vtable_00435dd8;
  param_1[9] = uVar2;
  *param_1 = puVar1 + 8;
  *(undefined4 *)(param_2 + 0x20) = 0;
  *(undefined4 *)(param_2 + 0x24) = 0xffffffff;
  return;
}

