
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* 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)

{
  *(undefined4 *)(this + 4) = 0;
  *(undefined4 *)(this + 8) = 0;
  *(undefined4 *)(this + 0xc) = 0;
  *(undefined4 *)(this + 0x10) = 0;
  *(undefined ***)this = &PTR__streambuf_0033c0b4;
  *(undefined4 *)(this + 0x14) = 0;
  *(undefined4 *)(this + 0x18) = 0;
  std::locale::locale((locale *)(this + 0x1c));
  *(undefined4 *)(this + 0x24) = 0xffffffff;
  *(undefined ***)this = &PTR__stdio_sync_filebuf_0033cc58;
  *(_IO_FILE **)(this + 0x20) = param_1;
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void FUN_001e2650(undefined4 *param_1,undefined4 param_2)

{
  param_1[1] = 0;
  param_1[2] = 0;
  param_1[3] = 0;
  param_1[4] = 0;
  *param_1 = &PTR_FUN_0033c0b4;
  param_1[5] = 0;
  param_1[6] = 0;
  FUN_001fd730(param_1 + 7);
  param_1[9] = 0xffffffff;
  *param_1 = &PTR_FUN_0033cc58;
  param_1[8] = param_2;
  return;
}


PUSH ESI
PUSH EBX
CALL 0x00035680
ADD EBX,0x15c9a9
SUB ESP,0x10
MOV ESI,dword ptr [ESP + 0x1c]
MOV dword ptr [ESI + 0x4],0x0
LEA EAX,[EBX + 0xffffd0ac]
MOV dword ptr [ESI + 0x8],0x0
MOV dword ptr [ESI + 0xc],0x0
ADD EAX,0x8
MOV dword ptr [ESI + 0x10],0x0
MOV dword ptr [ESI],EAX
LEA EAX,[ESI + 0x1c]
MOV dword ptr [ESI + 0x14],0x0
MOV dword ptr [ESI + 0x18],0x0
PUSH EAX
CALL 0x001fd730
LEA EAX,[EBX + 0xffffdc50]
MOV dword ptr [ESI + 0x24],0xffffffff
ADD EAX,0x8
MOV dword ptr [ESI],EAX
MOV EAX,dword ptr [ESP + 0x24]
MOV dword ptr [ESI + 0x20],EAX
ADD ESP,0x14
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_001e2650(undefined4 *param_1,undefined4 param_2)\n\n{\n  param_1[1] = 0;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  param_1[4] = 0;\n  *param_1 = &PTR_FUN_0033c0b4;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  FUN_001fd730(param_1 + 7);\n  param_1[9] = 0xffffffff;\n  *param_1 = &PTR_FUN_0033cc58;\n  param_1[8] = param_2;\n  return;\n}\n\n" comment (function_definition "void FUN_001e2650(undefined4 *param_1,undefined4 param_2)\n\n{\n  param_1[1] = 0;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  param_1[4] = 0;\n  *param_1 = &PTR_FUN_0033c0b4;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  FUN_001fd730(param_1 + 7);\n  param_1[9] = 0xffffffff;\n  *param_1 = &PTR_FUN_0033cc58;\n  param_1[8] = param_2;\n  return;\n}" primitive_type (function_declarator "FUN_001e2650(undefined4 *param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 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[4] = 0;\n  *param_1 = &PTR_FUN_0033c0b4;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  FUN_001fd730(param_1 + 7);\n  param_1[9] = 0xffffffff;\n  *param_1 = &PTR_FUN_0033cc58;\n  param_1[8] = param_2;\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[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = &PTR_FUN_0033c0b4;" (assignment_expression "*param_1 = &PTR_FUN_0033c0b4" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_0033c0b4" & identifier)) ;) (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_001fd730(param_1 + 7);" (call_expression "FUN_001fd730(param_1 + 7)" identifier (argument_list "(param_1 + 7)" ( (binary_expression "param_1 + 7" identifier + number_literal) ))) ;) (expression_statement "param_1[9] = 0xffffffff;" (assignment_expression "param_1[9] = 0xffffffff" (subscript_expression "param_1[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = &PTR_FUN_0033cc58;" (assignment_expression "*param_1 = &PTR_FUN_0033cc58" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_0033cc58" & identifier)) ;) (expression_statement "param_1[8] = param_2;" (assignment_expression "param_1[8] = param_2" (subscript_expression "param_1[8]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* 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  *(undefined4 *)(this + 4) = 0;\n  *(undefined4 *)(this + 8) = 0;\n  *(undefined4 *)(this + 0xc) = 0;\n  *(undefined4 *)(this + 0x10) = 0;\n  *(undefined ***)this = &PTR__streambuf_0033c0b4;\n  *(undefined4 *)(this + 0x14) = 0;\n  *(undefined4 *)(this + 0x18) = 0;\n  std::locale::locale((locale *)(this + 0x1c));\n  *(undefined4 *)(this + 0x24) = 0xffffffff;\n  *(undefined ***)this = &PTR__stdio_sync_filebuf_0033cc58;\n  *(_IO_FILE **)(this + 0x20) = param_1;\n  return;\n}\n\n" comment 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  *(undefined4 *)(this + 4) = 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 "*(undefined4 *)(this + 4) = 0" (pointer_declarator "*(undefined4 *)(this + 4)" * (function_declarator "(undefined4 *)(this + 4)" (parenthesized_declarator "(undefined4 *)" ( identifier (ERROR "*" *) )) (parameter_list "(this + 4)" ( (parameter_declaration "this" type_identifier) (ERROR "+ 4" + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 8) = 0;" (assignment_expression "*(undefined4 *)(this + 8) = 0" (pointer_expression "*(undefined4 *)(this + 8)" * (cast_expression "(undefined4 *)(this + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0xc) = 0;" (assignment_expression "*(undefined4 *)(this + 0xc) = 0" (pointer_expression "*(undefined4 *)(this + 0xc)" * (cast_expression "(undefined4 *)(this + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xc)" ( (binary_expression "this + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x10) = 0;" (assignment_expression "*(undefined4 *)(this + 0x10) = 0" (pointer_expression "*(undefined4 *)(this + 0x10)" * (cast_expression "(undefined4 *)(this + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined ***)this = &PTR__streambuf_0033c0b4;" (assignment_expression "*(undefined ***)this = &PTR__streambuf_0033c0b4" (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_0033c0b4" & identifier)) ;) (expression_statement "*(undefined4 *)(this + 0x14) = 0;" (assignment_expression "*(undefined4 *)(this + 0x14) = 0" (pointer_expression "*(undefined4 *)(this + 0x14)" * (cast_expression "(undefined4 *)(this + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x14)" ( (binary_expression "this + 0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x18) = 0;" (assignment_expression "*(undefined4 *)(this + 0x18) = 0" (pointer_expression "*(undefined4 *)(this + 0x18)" * (cast_expression "(undefined4 *)(this + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x18)" ( (binary_expression "this + 0x18" identifier + number_literal) )))) = number_literal) ;) (labeled_statement "std::locale::locale((locale *)(this + 0x1c));" statement_identifier : (ERROR ":" :) (labeled_statement "locale::locale((locale *)(this + 0x1c));" statement_identifier : (ERROR ":" :) (expression_statement "locale((locale *)(this + 0x1c));" (call_expression "locale((locale *)(this + 0x1c))" identifier (argument_list "((locale *)(this + 0x1c))" ( (cast_expression "(locale *)(this + 0x1c)" ( (type_descriptor "locale *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x1c)" ( (binary_expression "this + 0x1c" identifier + number_literal) ))) ))) ;))) (expression_statement "*(undefined4 *)(this + 0x24) = 0xffffffff;" (assignment_expression "*(undefined4 *)(this + 0x24) = 0xffffffff" (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) )))) = number_literal) ;) (expression_statement "*(undefined ***)this = &PTR__stdio_sync_filebuf_0033cc58;" (assignment_expression "*(undefined ***)this = &PTR__stdio_sync_filebuf_0033cc58" (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_0033cc58" & identifier)) ;) (expression_statement "*(_IO_FILE **)(this + 0x20) = param_1;" (assignment_expression "*(_IO_FILE **)(this + 0x20) = param_1" (pointer_expression "*(_IO_FILE **)(this + 0x20)" * (cast_expression "(_IO_FILE **)(this + 0x20)" ( (type_descriptor "_IO_FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x20)" ( (binary_expression "this + 0x20" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_001e2650(undefined4 *param_1,undefined4 param_2)\n\n{\n  param_1[1] = 0;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  param_1[4] = 0;\n  *param_1 = &PTR_FUN_0033c0b4;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  FUN_001fd730(param_1 + 7);\n  param_1[9] = 0xffffffff;\n  *param_1 = &PTR_FUN_0033cc58;\n  param_1[8] = param_2;\n  return;\n}\n\n" (function_definition "void FUN_001e2650(undefined4 *param_1,undefined4 param_2)\n\n{\n  param_1[1] = 0;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  param_1[4] = 0;\n  *param_1 = &PTR_FUN_0033c0b4;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  FUN_001fd730(param_1 + 7);\n  param_1[9] = 0xffffffff;\n  *param_1 = &PTR_FUN_0033cc58;\n  param_1[8] = param_2;\n  return;\n}" primitive_type (function_declarator "FUN_001e2650(undefined4 *param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 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[4] = 0;\n  *param_1 = &PTR_FUN_0033c0b4;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  FUN_001fd730(param_1 + 7);\n  param_1[9] = 0xffffffff;\n  *param_1 = &PTR_FUN_0033cc58;\n  param_1[8] = param_2;\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[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = &PTR_FUN_0033c0b4;" (assignment_expression "*param_1 = &PTR_FUN_0033c0b4" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_0033c0b4" & identifier)) ;) (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_001fd730(param_1 + 7);" (call_expression "FUN_001fd730(param_1 + 7)" identifier (argument_list "(param_1 + 7)" ( (binary_expression "param_1 + 7" identifier + number_literal) ))) ;) (expression_statement "param_1[9] = 0xffffffff;" (assignment_expression "param_1[9] = 0xffffffff" (subscript_expression "param_1[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = &PTR_FUN_0033cc58;" (assignment_expression "*param_1 = &PTR_FUN_0033cc58" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_0033cc58" & identifier)) ;) (expression_statement "param_1[8] = param_2;" (assignment_expression "param_1[8] = param_2" (subscript_expression "param_1[8]" identifier [ number_literal ]) = 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 (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 (call_expression IDENT (argument_list ( (binary_expression IDENT + 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 ]) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_001e2650(undefined4 *param_1,undefined4 param_2)\n\n{\n  param_1[1] = 0;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  param_1[4] = 0;\n  *param_1 = &PTR_FUN_0033c0b4;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  FUN_001fd730(param_1 + 7);\n  param_1[9] = 0xffffffff;\n  *param_1 = &PTR_FUN_0033cc58;\n  param_1[8] = param_2;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001e2650(undefined4 *param_1,undefined4 param_2)" (identifier "FUN_001e2650") (parameter_list "(undefined4 *param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  param_1[1] = 0;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  param_1[4] = 0;\n  *param_1 = &PTR_FUN_0033c0b4;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  FUN_001fd730(param_1 + 7);\n  param_1[9] = 0xffffffff;\n  *param_1 = &PTR_FUN_0033cc58;\n  param_1[8] = param_2;\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[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 = &PTR_FUN_0033c0b4;" (assignment_expression "*param_1 = &PTR_FUN_0033c0b4" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&PTR_FUN_0033c0b4" (& "&") (identifier "PTR_FUN_0033c0b4"))) (; ";")) (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_001fd730(param_1 + 7);" (call_expression "FUN_001fd730(param_1 + 7)" (identifier "FUN_001fd730") (argument_list "(param_1 + 7)" (( "(") (binary_expression "param_1 + 7" (identifier "param_1") (+ "+") (number_literal "7")) () ")"))) (; ";")) (expression_statement "param_1[9] = 0xffffffff;" (assignment_expression "param_1[9] = 0xffffffff" (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]")) (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "*param_1 = &PTR_FUN_0033cc58;" (assignment_expression "*param_1 = &PTR_FUN_0033cc58" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&PTR_FUN_0033cc58" (& "&") (identifier "PTR_FUN_0033cc58"))) (; ";")) (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")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* 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 + 4) = 0;
  *(function_1 *)(type_1 + 8) = 0;
  *(function_1 *)(type_1 + 0xc) = 0;
  *(function_1 *)(type_1 + 0x10) = 0;
  *(type_2 ***)type_1 = &PTR__streambuf_0033c0b4;
  *(function_1 *)(type_1 + 0x14) = 0;
  *(function_1 *)(type_1 + 0x18) = 0;
  std::locale::var_1((var_1 *)(type_1 + 0x1c));
  *(function_1 *)(type_1 + 0x24) = 0xffffffff;
  *(type_2 ***)type_1 = &PTR__stdio_sync_filebuf_0033cc58;
  *(type_3 **)(type_1 + 0x20) = param_1;
  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: (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 (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) 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: (identifier))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void MASKED(undefined4 *param_1,undefined4 param_2)

{
  param_1[1] = 0;
  param_1[2] = 0;
  param_1[3] = 0;
  param_1[4] = 0;
  *param_1 = &PTR_FUN_0033c0b4;
  param_1[5] = 0;
  param_1[6] = 0;
  FUN_001fd730(param_1 + 7);
  param_1[9] = 0xffffffff;
  *param_1 = &PTR_FUN_0033cc58;
  param_1[8] = param_2;
  return;
}

