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

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

{
  std::filebuf::filebuf((filebuf *)this);
  *(undefined ***)this = &PTR__stdio_filebuf_0038ccc8;
  return;
}



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

void FUN_0021cd50(undefined4 *param_1)

{
  FUN_00213670(param_1);
  *param_1 = &PTR_FUN_0038ccc8;
  return;
}


PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x1722a9
SUB ESP,0x10
MOV ESI,dword ptr [ESP + 0x1c]
PUSH ESI
CALL 0x00213670
LEA EAX,[EBX + 0xffffdcc0]
ADD EAX,0x8
MOV dword ptr [ESI],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_0021cd50(undefined4 *param_1)\n\n{\n  FUN_00213670(param_1);\n  *param_1 = &PTR_FUN_0038ccc8;\n  return;\n}\n\n" comment (function_definition "void FUN_0021cd50(undefined4 *param_1)\n\n{\n  FUN_00213670(param_1);\n  *param_1 = &PTR_FUN_0038ccc8;\n  return;\n}" primitive_type (function_declarator "FUN_0021cd50(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  FUN_00213670(param_1);\n  *param_1 = &PTR_FUN_0038ccc8;\n  return;\n}" { (expression_statement "FUN_00213670(param_1);" (call_expression "FUN_00213670(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "*param_1 = &PTR_FUN_0038ccc8;" (assignment_expression "*param_1 = &PTR_FUN_0038ccc8" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_0038ccc8" & identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* stdio_filebuf<char, std::char_traits<char> >::stdio_filebuf() */\n\nvoid __thiscall\nstdio_filebuf<char,std::char_traits<char>>::stdio_filebuf\n          (stdio_filebuf<char,std::char_traits<char>> *this)\n\n{\n  std::filebuf::filebuf((filebuf *)this);\n  *(undefined ***)this = &PTR__stdio_filebuf_0038ccc8;\n  return;\n}\n\n" comment comment (declaration "void __thiscall\nstdio_filebuf<char,std::char_traits<char>>::stdio_filebuf\n          (stdio_filebuf<char,std::char_traits<char>> *this)\n\n{\n  std::filebuf::filebuf((filebuf *)this);" primitive_type (ms_call_modifier "__thiscall" __thiscall) identifier (ERROR "<char" < primitive_type) , (ERROR "std::char_traits<char>>::stdio_filebuf\n          (stdio_filebuf<char,std::char_traits<char>> *this)\n\n{\n  std::filebuf::" identifier : : identifier < primitive_type >> : : (function_declarator "stdio_filebuf\n          (stdio_filebuf<char,std::char_traits<char>> *this)" identifier (parameter_list "(stdio_filebuf<char,std::char_traits<char>> *this)" ( (parameter_declaration "stdio_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)) ))) { identifier : : identifier : :) (function_declarator "filebuf((filebuf *)this)" identifier (parameter_list "((filebuf *)this)" ( (parameter_declaration "(filebuf *)this" (macro_type_specifier "(filebuf *)" identifier ( (type_descriptor "filebuf *" type_identifier (abstract_pointer_declarator "*" *)) )) identifier) ))) ;) (expression_statement "*(undefined ***)this = &PTR__stdio_filebuf_0038ccc8;" (assignment_expression "*(undefined ***)this = &PTR__stdio_filebuf_0038ccc8" (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_filebuf_0038ccc8" & identifier)) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_0021cd50(undefined4 *param_1)\n\n{\n  FUN_00213670(param_1);\n  *param_1 = &PTR_FUN_0038ccc8;\n  return;\n}\n\n" (function_definition "void FUN_0021cd50(undefined4 *param_1)\n\n{\n  FUN_00213670(param_1);\n  *param_1 = &PTR_FUN_0038ccc8;\n  return;\n}" primitive_type (function_declarator "FUN_0021cd50(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  FUN_00213670(param_1);\n  *param_1 = &PTR_FUN_0038ccc8;\n  return;\n}" { (expression_statement "FUN_00213670(param_1);" (call_expression "FUN_00213670(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "*param_1 = &PTR_FUN_0038ccc8;" (assignment_expression "*param_1 = &PTR_FUN_0038ccc8" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_0038ccc8" & identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression & IDENT)) ;) (return_statement return ;) })))
(function_definition "void FUN_0021cd50(undefined4 *param_1)\n\n{\n  FUN_00213670(param_1);\n  *param_1 = &PTR_FUN_0038ccc8;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0021cd50(undefined4 *param_1)" (identifier "FUN_0021cd50") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  FUN_00213670(param_1);\n  *param_1 = &PTR_FUN_0038ccc8;\n  return;\n}" ({ "{") (expression_statement "FUN_00213670(param_1);" (call_expression "FUN_00213670(param_1)" (identifier "FUN_00213670") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "*param_1 = &PTR_FUN_0038ccc8;" (assignment_expression "*param_1 = &PTR_FUN_0038ccc8" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&PTR_FUN_0038ccc8" (& "&") (identifier "PTR_FUN_0038ccc8"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

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

{
  std::function_1::function_1(type_1(function_1 *)this);
  *(type_2 ***)this = &PTR__stdio_filebuf_0038ccc8;
  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))))) body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (return_statement))))

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

void MASKED(undefined4 *param_1)

{
  FUN_00213670(param_1);
  *param_1 = &PTR_FUN_0038ccc8;
  return;
}

