
/* 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(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)

{
  std::streambuf::streambuf((streambuf *)this,(streambuf *)param_1);
  *(undefined ***)this = &PTR__stdio_sync_filebuf_002ffc40;
  *(undefined4 *)(this + 0x20) = *(undefined4 *)(param_1 + 0x20);
  *(undefined4 *)(this + 0x24) = *(undefined4 *)(param_1 + 0x24);
  *(undefined4 *)(param_1 + 0x20) = 0;
  *(undefined4 *)(param_1 + 0x24) = 0xffffffff;
  return;
}



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

void FUN_001b6a00(undefined4 *param_1,int param_2)

{
  FUN_0018c250(param_1,param_2);
  *param_1 = &PTR_FUN_002ffc40;
  param_1[8] = *(undefined4 *)(param_2 + 0x20);
  param_1[9] = *(undefined4 *)(param_2 + 0x24);
  *(undefined4 *)(param_2 + 0x20) = 0;
  *(undefined4 *)(param_2 + 0x24) = 0xffffffff;
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV ESI,dword ptr [ESP + 0x14]
CALL 0x00032730
ADD EBX,0x14b5f4
MOV EDI,dword ptr [ESP + 0x10]
SUB ESP,0x8
PUSH ESI
PUSH EDI
CALL 0x0018c250
LEA EAX,[EBX + 0xffffdc38]
ADD ESP,0x10
ADD EAX,0x8
MOV dword ptr [EDI],EAX
MOV EAX,dword ptr [ESI + 0x20]
MOV dword ptr [EDI + 0x20],EAX
MOV EAX,dword ptr [ESI + 0x24]
MOV dword ptr [EDI + 0x24],EAX
MOV dword ptr [ESI + 0x20],0x0
MOV dword ptr [ESI + 0x24],0xffffffff
POP EBX
POP ESI
POP EDI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_001b6a00(undefined4 *param_1,int param_2)\n\n{\n  FUN_0018c250(param_1,param_2);\n  *param_1 = &PTR_FUN_002ffc40;\n  param_1[8] = *(undefined4 *)(param_2 + 0x20);\n  param_1[9] = *(undefined4 *)(param_2 + 0x24);\n  *(undefined4 *)(param_2 + 0x20) = 0;\n  *(undefined4 *)(param_2 + 0x24) = 0xffffffff;\n  return;\n}\n\n" comment (function_definition "void FUN_001b6a00(undefined4 *param_1,int param_2)\n\n{\n  FUN_0018c250(param_1,param_2);\n  *param_1 = &PTR_FUN_002ffc40;\n  param_1[8] = *(undefined4 *)(param_2 + 0x20);\n  param_1[9] = *(undefined4 *)(param_2 + 0x24);\n  *(undefined4 *)(param_2 + 0x20) = 0;\n  *(undefined4 *)(param_2 + 0x24) = 0xffffffff;\n  return;\n}" primitive_type (function_declarator "FUN_001b6a00(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  FUN_0018c250(param_1,param_2);\n  *param_1 = &PTR_FUN_002ffc40;\n  param_1[8] = *(undefined4 *)(param_2 + 0x20);\n  param_1[9] = *(undefined4 *)(param_2 + 0x24);\n  *(undefined4 *)(param_2 + 0x20) = 0;\n  *(undefined4 *)(param_2 + 0x24) = 0xffffffff;\n  return;\n}" { (expression_statement "FUN_0018c250(param_1,param_2);" (call_expression "FUN_0018c250(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) (expression_statement "*param_1 = &PTR_FUN_002ffc40;" (assignment_expression "*param_1 = &PTR_FUN_002ffc40" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_002ffc40" & identifier)) ;) (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 "param_1[9] = *(undefined4 *)(param_2 + 0x24);" (assignment_expression "param_1[9] = *(undefined4 *)(param_2 + 0x24)" (subscript_expression "param_1[9]" identifier [ number_literal ]) = (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 "*(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 "/* 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(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  std::streambuf::streambuf((streambuf *)this,(streambuf *)param_1);\n  *(undefined ***)this = &PTR__stdio_sync_filebuf_002ffc40;\n  *(undefined4 *)(this + 0x20) = *(undefined4 *)(param_1 + 0x20);\n  *(undefined4 *)(this + 0x24) = *(undefined4 *)(param_1 + 0x24);\n  *(undefined4 *)(param_1 + 0x20) = 0;\n  *(undefined4 *)(param_1 + 0x24) = 0xffffffff;\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,stdio_sync_filebuf *param_1)\n\n{\n  std::streambuf::streambuf((streambuf *)this,(streambuf *)param_1);" 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  std::streambuf::" 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 : : identifier : :) (function_declarator "streambuf((streambuf *)this,(streambuf *)param_1)" identifier (parameter_list "((streambuf *)this,(streambuf *)param_1)" ( (parameter_declaration "(streambuf *)this" (macro_type_specifier "(streambuf *)" identifier ( (type_descriptor "streambuf *" type_identifier (abstract_pointer_declarator "*" *)) )) identifier) , (parameter_declaration "(streambuf *)param_1" (macro_type_specifier "(streambuf *)" identifier ( (type_descriptor "streambuf *" type_identifier (abstract_pointer_declarator "*" *)) )) identifier) ))) ;) (expression_statement "*(undefined ***)this = &PTR__stdio_sync_filebuf_002ffc40;" (assignment_expression "*(undefined ***)this = &PTR__stdio_sync_filebuf_002ffc40" (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_002ffc40" & identifier)) ;) (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 "*(undefined4 *)(this + 0x24) = *(undefined4 *)(param_1 + 0x24);" (assignment_expression "*(undefined4 *)(this + 0x24) = *(undefined4 *)(param_1 + 0x24)" (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) )))) = (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 *)(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_001b6a00(undefined4 *param_1,int param_2)\n\n{\n  FUN_0018c250(param_1,param_2);\n  *param_1 = &PTR_FUN_002ffc40;\n  param_1[8] = *(undefined4 *)(param_2 + 0x20);\n  param_1[9] = *(undefined4 *)(param_2 + 0x24);\n  *(undefined4 *)(param_2 + 0x20) = 0;\n  *(undefined4 *)(param_2 + 0x24) = 0xffffffff;\n  return;\n}\n\n" (function_definition "void FUN_001b6a00(undefined4 *param_1,int param_2)\n\n{\n  FUN_0018c250(param_1,param_2);\n  *param_1 = &PTR_FUN_002ffc40;\n  param_1[8] = *(undefined4 *)(param_2 + 0x20);\n  param_1[9] = *(undefined4 *)(param_2 + 0x24);\n  *(undefined4 *)(param_2 + 0x20) = 0;\n  *(undefined4 *)(param_2 + 0x24) = 0xffffffff;\n  return;\n}" primitive_type (function_declarator "FUN_001b6a00(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  FUN_0018c250(param_1,param_2);\n  *param_1 = &PTR_FUN_002ffc40;\n  param_1[8] = *(undefined4 *)(param_2 + 0x20);\n  param_1[9] = *(undefined4 *)(param_2 + 0x24);\n  *(undefined4 *)(param_2 + 0x20) = 0;\n  *(undefined4 *)(param_2 + 0x24) = 0xffffffff;\n  return;\n}" { (expression_statement "FUN_0018c250(param_1,param_2);" (call_expression "FUN_0018c250(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) (expression_statement "*param_1 = &PTR_FUN_002ffc40;" (assignment_expression "*param_1 = &PTR_FUN_002ffc40" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_002ffc40" & identifier)) ;) (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 "param_1[9] = *(undefined4 *)(param_2 + 0x24);" (assignment_expression "param_1[9] = *(undefined4 *)(param_2 + 0x24)" (subscript_expression "param_1[9]" identifier [ number_literal ]) = (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 "*(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 { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression & IDENT)) ;) (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 (subscript_expression IDENT [ LIT ]) = (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) )))) = 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_001b6a00(undefined4 *param_1,int param_2)\n\n{\n  FUN_0018c250(param_1,param_2);\n  *param_1 = &PTR_FUN_002ffc40;\n  param_1[8] = *(undefined4 *)(param_2 + 0x20);\n  param_1[9] = *(undefined4 *)(param_2 + 0x24);\n  *(undefined4 *)(param_2 + 0x20) = 0;\n  *(undefined4 *)(param_2 + 0x24) = 0xffffffff;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001b6a00(undefined4 *param_1,int param_2)" (identifier "FUN_001b6a00") (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  FUN_0018c250(param_1,param_2);\n  *param_1 = &PTR_FUN_002ffc40;\n  param_1[8] = *(undefined4 *)(param_2 + 0x20);\n  param_1[9] = *(undefined4 *)(param_2 + 0x24);\n  *(undefined4 *)(param_2 + 0x20) = 0;\n  *(undefined4 *)(param_2 + 0x24) = 0xffffffff;\n  return;\n}" ({ "{") (expression_statement "FUN_0018c250(param_1,param_2);" (call_expression "FUN_0018c250(param_1,param_2)" (identifier "FUN_0018c250") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "*param_1 = &PTR_FUN_002ffc40;" (assignment_expression "*param_1 = &PTR_FUN_002ffc40" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&PTR_FUN_002ffc40" (& "&") (identifier "PTR_FUN_002ffc40"))) (; ";")) (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 "param_1[9] = *(undefined4 *)(param_2 + 0x24);" (assignment_expression "param_1[9] = *(undefined4 *)(param_2 + 0x24)" (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]")) (= "=") (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 "*(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") (; ";")) (} "}")))

/* 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(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>> *var_1,stdio_sync_filebuf *var_2)

{
  std::function_1::function_1(type_1(function_1 *)var_1,type_1(function_1 *)var_2);
  *(type_2 ***)var_1 = &PTR__stdio_sync_filebuf_002ffc40;
  *(type_3 *)(var_1 + 0x20) = *(type_3 *)(var_2 + 0x20);
  *(type_3 *)(var_1 + 0x24) = *(type_3 *)(var_2 + 0x24);
  *(type_3 *)(var_2 + 0x20) = 0;
  *(type_3 *)(var_2 + 0x24) = 0xffffffff;
  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 (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (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: (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: (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))))

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

void MASKED(undefined4 *param_1,int param_2)

{
  FUN_0018c250(param_1,param_2);
  *param_1 = &PTR_FUN_002ffc40;
  param_1[8] = *(undefined4 *)(param_2 + 0x20);
  param_1[9] = *(undefined4 *)(param_2 + 0x24);
  *(undefined4 *)(param_2 + 0x20) = 0;
  *(undefined4 *)(param_2 + 0x24) = 0xffffffff;
  return;
}

