
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* stdio_sync_filebuf<char, std::char_traits<char>
   >::TEMPNAMEPLACEHOLDERVALUE(stdio_sync_filebuf<char, std::char_traits<char> >&&) */

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

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



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

int FUN_001e2720(int param_1,int param_2)

{
  undefined4 uVar1;
  
  FUN_001b7f80(param_1,param_2);
  uVar1 = *(undefined4 *)(param_2 + 0x20);
  *(undefined4 *)(param_2 + 0x20) = 0;
  *(undefined4 *)(param_1 + 0x20) = uVar1;
  uVar1 = *(undefined4 *)(param_2 + 0x24);
  *(undefined4 *)(param_2 + 0x24) = 0xffffffff;
  *(undefined4 *)(param_1 + 0x24) = uVar1;
  return param_1;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV ESI,dword ptr [ESP + 0x14]
CALL 0x00035680
ADD EBX,0x15c8d4
MOV EDI,dword ptr [ESP + 0x10]
SUB ESP,0x8
PUSH ESI
PUSH EDI
CALL 0x001b7f80
MOV EAX,dword ptr [ESI + 0x20]
MOV dword ptr [ESI + 0x20],0x0
ADD ESP,0x10
MOV dword ptr [EDI + 0x20],EAX
MOV EAX,dword ptr [ESI + 0x24]
MOV dword ptr [ESI + 0x24],0xffffffff
MOV dword ptr [EDI + 0x24],EAX
MOV EAX,EDI
POP EBX
POP ESI
POP EDI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint FUN_001e2720(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  FUN_001b7f80(param_1,param_2);\n  uVar1 = *(undefined4 *)(param_2 + 0x20);\n  *(undefined4 *)(param_2 + 0x20) = 0;\n  *(undefined4 *)(param_1 + 0x20) = uVar1;\n  uVar1 = *(undefined4 *)(param_2 + 0x24);\n  *(undefined4 *)(param_2 + 0x24) = 0xffffffff;\n  *(undefined4 *)(param_1 + 0x24) = uVar1;\n  return param_1;\n}\n\n" comment (function_definition "int FUN_001e2720(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  FUN_001b7f80(param_1,param_2);\n  uVar1 = *(undefined4 *)(param_2 + 0x20);\n  *(undefined4 *)(param_2 + 0x20) = 0;\n  *(undefined4 *)(param_1 + 0x20) = uVar1;\n  uVar1 = *(undefined4 *)(param_2 + 0x24);\n  *(undefined4 *)(param_2 + 0x24) = 0xffffffff;\n  *(undefined4 *)(param_1 + 0x24) = uVar1;\n  return param_1;\n}" primitive_type (function_declarator "FUN_001e2720(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  FUN_001b7f80(param_1,param_2);\n  uVar1 = *(undefined4 *)(param_2 + 0x20);\n  *(undefined4 *)(param_2 + 0x20) = 0;\n  *(undefined4 *)(param_1 + 0x20) = uVar1;\n  uVar1 = *(undefined4 *)(param_2 + 0x24);\n  *(undefined4 *)(param_2 + 0x24) = 0xffffffff;\n  *(undefined4 *)(param_1 + 0x24) = uVar1;\n  return param_1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "FUN_001b7f80(param_1,param_2);" (call_expression "FUN_001b7f80(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) (expression_statement "uVar1 = *(undefined4 *)(param_2 + 0x20);" (assignment_expression "uVar1 = *(undefined4 *)(param_2 + 0x20)" identifier = (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 "*(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_1 + 0x20) = uVar1;" (assignment_expression "*(undefined4 *)(param_1 + 0x20) = uVar1" (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) )))) = identifier) ;) (expression_statement "uVar1 = *(undefined4 *)(param_2 + 0x24);" (assignment_expression "uVar1 = *(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 "*(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) ;) (expression_statement "*(undefined4 *)(param_1 + 0x24) = uVar1;" (assignment_expression "*(undefined4 *)(param_1 + 0x24) = uVar1" (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) )))) = identifier) ;) (return_statement "return param_1;" return identifier ;) })))
(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>\n   >::TEMPNAMEPLACEHOLDERVALUE(stdio_sync_filebuf<char, std::char_traits<char> >&&) */\n\nstdio_sync_filebuf<char,std::char_traits<char>> * __thiscall\nstdio_sync_filebuf<char,std::char_traits<char>>::operator=\n          (stdio_sync_filebuf<char,std::char_traits<char>> *this,stdio_sync_filebuf *param_1)\n\n{\n  undefined4 uVar1;\n  \n  std::streambuf::operator=((streambuf *)this,(streambuf *)param_1);\n  uVar1 = *(undefined4 *)(param_1 + 0x20);\n  *(undefined4 *)(param_1 + 0x20) = 0;\n  *(undefined4 *)(this + 0x20) = uVar1;\n  uVar1 = *(undefined4 *)(param_1 + 0x24);\n  *(undefined4 *)(param_1 + 0x24) = 0xffffffff;\n  *(undefined4 *)(this + 0x24) = uVar1;\n  return this;\n}\n\n" comment comment (ERROR "stdio_sync_filebuf<char," (binary_expression "stdio_sync_filebuf<char" identifier < identifier) ,) (labeled_statement "std::char_traits<char>> * __thiscall\nstdio_sync_filebuf<char,std::char_traits<char>>::operator=\n          (stdio_sync_filebuf<char,std::char_traits<char>> *this,stdio_sync_filebuf *param_1)" statement_identifier (ERROR "::char_traits<char>> * __thiscall\nstdio_sync_filebuf<char,std:" : : (comma_expression "char_traits<char>> * __thiscall\nstdio_sync_filebuf<char,std" (binary_expression "char_traits<char>> * __thiscall\nstdio_sync_filebuf<char" (binary_expression "char_traits<char>> * __thiscall\nstdio_sync_filebuf" identifier < (binary_expression "char>> * __thiscall\nstdio_sync_filebuf" identifier >> (ERROR "* __thiscall" (pointer_expression "* __thiscall" * identifier)) identifier)) < identifier) , identifier) :) : (expression_statement "char_traits<char>>::operator=\n          (stdio_sync_filebuf<char,std::char_traits<char>> *this,stdio_sync_filebuf *param_1)" (binary_expression "char_traits<char>>::operator=\n          (stdio_sync_filebuf<char,std::char_traits<char>> *this,stdio_sync_filebuf *param_1)" identifier < (binary_expression "char>>::operator=\n          (stdio_sync_filebuf<char,std::char_traits<char>> *this,stdio_sync_filebuf *param_1)" identifier >> (ERROR "::" : :) (assignment_expression "operator=\n          (stdio_sync_filebuf<char,std::char_traits<char>> *this,stdio_sync_filebuf *param_1)" identifier = (parenthesized_expression "(stdio_sync_filebuf<char,std::char_traits<char>> *this,stdio_sync_filebuf *param_1)" ( (ERROR "stdio_sync_filebuf<char,std::" (comma_expression "stdio_sync_filebuf<char,std" (binary_expression "stdio_sync_filebuf<char" identifier < identifier) , identifier) : :) (comma_expression "char_traits<char>> *this,stdio_sync_filebuf *param_1" (binary_expression "char_traits<char>> *this" identifier < (binary_expression "char>> *this" identifier >> (pointer_expression "*this" * identifier))) , (binary_expression "stdio_sync_filebuf *param_1" identifier * identifier)) ))))) ;)) (compound_statement "{\n  undefined4 uVar1;\n  \n  std::streambuf::operator=((streambuf *)this,(streambuf *)param_1);\n  uVar1 = *(undefined4 *)(param_1 + 0x20);\n  *(undefined4 *)(param_1 + 0x20) = 0;\n  *(undefined4 *)(this + 0x20) = uVar1;\n  uVar1 = *(undefined4 *)(param_1 + 0x24);\n  *(undefined4 *)(param_1 + 0x24) = 0xffffffff;\n  *(undefined4 *)(this + 0x24) = uVar1;\n  return this;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (labeled_statement "std::streambuf::operator=((streambuf *)this,(streambuf *)param_1);" statement_identifier : (ERROR ":" :) (labeled_statement "streambuf::operator=((streambuf *)this,(streambuf *)param_1);" statement_identifier : (ERROR ":" :) (expression_statement "operator=((streambuf *)this,(streambuf *)param_1);" (assignment_expression "operator=((streambuf *)this,(streambuf *)param_1)" identifier = (parenthesized_expression "((streambuf *)this,(streambuf *)param_1)" ( (comma_expression "(streambuf *)this,(streambuf *)param_1" (cast_expression "(streambuf *)this" ( (type_descriptor "streambuf *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(streambuf *)param_1" ( (type_descriptor "streambuf *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;))) (expression_statement "uVar1 = *(undefined4 *)(param_1 + 0x20);" (assignment_expression "uVar1 = *(undefined4 *)(param_1 + 0x20)" identifier = (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 *)(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 *)(this + 0x20) = uVar1;" (assignment_expression "*(undefined4 *)(this + 0x20) = uVar1" (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) )))) = identifier) ;) (expression_statement "uVar1 = *(undefined4 *)(param_1 + 0x24);" (assignment_expression "uVar1 = *(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 *)(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) ;) (expression_statement "*(undefined4 *)(this + 0x24) = uVar1;" (assignment_expression "*(undefined4 *)(this + 0x24) = uVar1" (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) ;) (return_statement "return this;" return identifier ;) }))
(translation_unit "int FUN_001e2720(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  FUN_001b7f80(param_1,param_2);\n  uVar1 = *(undefined4 *)(param_2 + 0x20);\n  *(undefined4 *)(param_2 + 0x20) = 0;\n  *(undefined4 *)(param_1 + 0x20) = uVar1;\n  uVar1 = *(undefined4 *)(param_2 + 0x24);\n  *(undefined4 *)(param_2 + 0x24) = 0xffffffff;\n  *(undefined4 *)(param_1 + 0x24) = uVar1;\n  return param_1;\n}\n\n" (function_definition "int FUN_001e2720(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  FUN_001b7f80(param_1,param_2);\n  uVar1 = *(undefined4 *)(param_2 + 0x20);\n  *(undefined4 *)(param_2 + 0x20) = 0;\n  *(undefined4 *)(param_1 + 0x20) = uVar1;\n  uVar1 = *(undefined4 *)(param_2 + 0x24);\n  *(undefined4 *)(param_2 + 0x24) = 0xffffffff;\n  *(undefined4 *)(param_1 + 0x24) = uVar1;\n  return param_1;\n}" primitive_type (function_declarator "FUN_001e2720(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  FUN_001b7f80(param_1,param_2);\n  uVar1 = *(undefined4 *)(param_2 + 0x20);\n  *(undefined4 *)(param_2 + 0x20) = 0;\n  *(undefined4 *)(param_1 + 0x20) = uVar1;\n  uVar1 = *(undefined4 *)(param_2 + 0x24);\n  *(undefined4 *)(param_2 + 0x24) = 0xffffffff;\n  *(undefined4 *)(param_1 + 0x24) = uVar1;\n  return param_1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "FUN_001b7f80(param_1,param_2);" (call_expression "FUN_001b7f80(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) (expression_statement "uVar1 = *(undefined4 *)(param_2 + 0x20);" (assignment_expression "uVar1 = *(undefined4 *)(param_2 + 0x20)" identifier = (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 "*(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_1 + 0x20) = uVar1;" (assignment_expression "*(undefined4 *)(param_1 + 0x20) = uVar1" (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) )))) = identifier) ;) (expression_statement "uVar1 = *(undefined4 *)(param_2 + 0x24);" (assignment_expression "uVar1 = *(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 "*(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) ;) (expression_statement "*(undefined4 *)(param_1 + 0x24) = uVar1;" (assignment_expression "*(undefined4 *)(param_1 + 0x24) = uVar1" (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) )))) = identifier) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (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 (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) )))) = IDENT) ;) (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 (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) )))) = IDENT) ;) (return_statement return IDENT ;) })))
(function_definition "int FUN_001e2720(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  FUN_001b7f80(param_1,param_2);\n  uVar1 = *(undefined4 *)(param_2 + 0x20);\n  *(undefined4 *)(param_2 + 0x20) = 0;\n  *(undefined4 *)(param_1 + 0x20) = uVar1;\n  uVar1 = *(undefined4 *)(param_2 + 0x24);\n  *(undefined4 *)(param_2 + 0x24) = 0xffffffff;\n  *(undefined4 *)(param_1 + 0x24) = uVar1;\n  return param_1;\n}" (primitive_type "int") (function_declarator "FUN_001e2720(int param_1,int param_2)" (identifier "FUN_001e2720") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  FUN_001b7f80(param_1,param_2);\n  uVar1 = *(undefined4 *)(param_2 + 0x20);\n  *(undefined4 *)(param_2 + 0x20) = 0;\n  *(undefined4 *)(param_1 + 0x20) = uVar1;\n  uVar1 = *(undefined4 *)(param_2 + 0x24);\n  *(undefined4 *)(param_2 + 0x24) = 0xffffffff;\n  *(undefined4 *)(param_1 + 0x24) = uVar1;\n  return param_1;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (expression_statement "FUN_001b7f80(param_1,param_2);" (call_expression "FUN_001b7f80(param_1,param_2)" (identifier "FUN_001b7f80") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "uVar1 = *(undefined4 *)(param_2 + 0x20);" (assignment_expression "uVar1 = *(undefined4 *)(param_2 + 0x20)" (identifier "uVar1") (= "=") (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 "*(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_1 + 0x20) = uVar1;" (assignment_expression "*(undefined4 *)(param_1 + 0x20) = uVar1" (pointer_expression "*(undefined4 *)(param_1 + 0x20)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "uVar1 = *(undefined4 *)(param_2 + 0x24);" (assignment_expression "uVar1 = *(undefined4 *)(param_2 + 0x24)" (identifier "uVar1") (= "=") (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 + 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")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x24) = uVar1;" (assignment_expression "*(undefined4 *)(param_1 + 0x24) = uVar1" (pointer_expression "*(undefined4 *)(param_1 + 0x24)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* stdio_sync_filebuf<char, std::char_traits<char>
   >::TEMPNAMEPLACEHOLDERVALUE(stdio_sync_filebuf<char, std::char_traits<char> >&&) */

var_3<var_2,std::var_1<var_2>> * __thiscall
var_3<var_2,std::var_1<var_2>>::operator=
          (var_3<var_2,std::var_1<var_2>> *var_5,var_3 *var_4)

{
  type_1 uVar1;
  
  std::streambuf::operator=((type_2 *)var_5,(type_2 *)var_4);
  uVar1 = *(type_1 *)(var_4 + 0x20);
  *(type_1 *)(var_4 + 0x20) = 0;
  *(type_1 *)(var_5 + 0x20) = uVar1;
  uVar1 = *(type_1 *)(var_4 + 0x24);
  *(type_1 *)(var_4 + 0x24) = 0xffffffff;
  *(type_1 *)(var_5 + 0x24) = uVar1;
  return var_5;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (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: (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: (identifier))) (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: (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: (identifier))) (return_statement (identifier)))))

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

int MASKED(int param_1,int param_2)

{
  undefined4 uVar1;
  
  FUN_001b7f80(param_1,param_2);
  uVar1 = *(undefined4 *)(param_2 + 0x20);
  *(undefined4 *)(param_2 + 0x20) = 0;
  *(undefined4 *)(param_1 + 0x20) = uVar1;
  uVar1 = *(undefined4 *)(param_2 + 0x24);
  *(undefined4 *)(param_2 + 0x24) = 0xffffffff;
  *(undefined4 *)(param_1 + 0x24) = uVar1;
  return param_1;
}

