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

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

{
  std::wfilebuf::wfilebuf((wfilebuf *)this);
  *(undefined ***)this = &PTR__stdio_filebuf_0038cd08;
  return;
}



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

void FUN_0021d180(undefined4 *param_1)

{
  FUN_00215250(param_1);
  *param_1 = &PTR_FUN_0038cd08;
  return;
}


PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x171e79
SUB ESP,0x10
MOV ESI,dword ptr [ESP + 0x1c]
PUSH ESI
CALL 0x00215250
LEA EAX,[EBX + 0xffffdd00]
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_0021d180(undefined4 *param_1)\n\n{\n  FUN_00215250(param_1);\n  *param_1 = &PTR_FUN_0038cd08;\n  return;\n}\n\n" comment (function_definition "void FUN_0021d180(undefined4 *param_1)\n\n{\n  FUN_00215250(param_1);\n  *param_1 = &PTR_FUN_0038cd08;\n  return;\n}" primitive_type (function_declarator "FUN_0021d180(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_00215250(param_1);\n  *param_1 = &PTR_FUN_0038cd08;\n  return;\n}" { (expression_statement "FUN_00215250(param_1);" (call_expression "FUN_00215250(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "*param_1 = &PTR_FUN_0038cd08;" (assignment_expression "*param_1 = &PTR_FUN_0038cd08" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_0038cd08" & identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* stdio_filebuf<wchar_t, std::char_traits<wchar_t> >::stdio_filebuf() */\n\nvoid __thiscall\nstdio_filebuf<wchar_t,std::char_traits<wchar_t>>::stdio_filebuf\n          (stdio_filebuf<wchar_t,std::char_traits<wchar_t>> *this)\n\n{\n  std::wfilebuf::wfilebuf((wfilebuf *)this);\n  *(undefined ***)this = &PTR__stdio_filebuf_0038cd08;\n  return;\n}\n\n" comment comment (declaration "void __thiscall\nstdio_filebuf<wchar_t,std::char_traits<wchar_t>>::stdio_filebuf\n          (stdio_filebuf<wchar_t,std::char_traits<wchar_t>> *this)\n\n{\n  std::wfilebuf::wfilebuf((wfilebuf *)this);" primitive_type (ms_call_modifier "__thiscall" __thiscall) identifier (ERROR "<wchar_t" < identifier) , (ERROR "std::char_traits<wchar_t>>::stdio_filebuf\n          (stdio_filebuf<wchar_t,std::char_traits<wchar_t>> *this)\n\n{\n  std::wfilebuf::" identifier : : identifier < identifier >> : : (function_declarator "stdio_filebuf\n          (stdio_filebuf<wchar_t,std::char_traits<wchar_t>> *this)" identifier (parameter_list "(stdio_filebuf<wchar_t,std::char_traits<wchar_t>> *this)" ( (parameter_declaration "stdio_filebuf<wchar_t" type_identifier (ERROR "<" <) identifier) , (parameter_declaration "std::char_traits<wchar_t>> *this" type_identifier (ERROR "::char_traits<wchar_t>>" : : identifier < identifier >>) (pointer_declarator "*this" * identifier)) ))) { identifier : : identifier : :) (function_declarator "wfilebuf((wfilebuf *)this)" identifier (parameter_list "((wfilebuf *)this)" ( (parameter_declaration "(wfilebuf *)this" (macro_type_specifier "(wfilebuf *)" identifier ( (type_descriptor "wfilebuf *" type_identifier (abstract_pointer_declarator "*" *)) )) identifier) ))) ;) (expression_statement "*(undefined ***)this = &PTR__stdio_filebuf_0038cd08;" (assignment_expression "*(undefined ***)this = &PTR__stdio_filebuf_0038cd08" (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_0038cd08" & identifier)) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_0021d180(undefined4 *param_1)\n\n{\n  FUN_00215250(param_1);\n  *param_1 = &PTR_FUN_0038cd08;\n  return;\n}\n\n" (function_definition "void FUN_0021d180(undefined4 *param_1)\n\n{\n  FUN_00215250(param_1);\n  *param_1 = &PTR_FUN_0038cd08;\n  return;\n}" primitive_type (function_declarator "FUN_0021d180(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_00215250(param_1);\n  *param_1 = &PTR_FUN_0038cd08;\n  return;\n}" { (expression_statement "FUN_00215250(param_1);" (call_expression "FUN_00215250(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "*param_1 = &PTR_FUN_0038cd08;" (assignment_expression "*param_1 = &PTR_FUN_0038cd08" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_0038cd08" & 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_0021d180(undefined4 *param_1)\n\n{\n  FUN_00215250(param_1);\n  *param_1 = &PTR_FUN_0038cd08;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0021d180(undefined4 *param_1)" (identifier "FUN_0021d180") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  FUN_00215250(param_1);\n  *param_1 = &PTR_FUN_0038cd08;\n  return;\n}" ({ "{") (expression_statement "FUN_00215250(param_1);" (call_expression "FUN_00215250(param_1)" (identifier "FUN_00215250") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "*param_1 = &PTR_FUN_0038cd08;" (assignment_expression "*param_1 = &PTR_FUN_0038cd08" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&PTR_FUN_0038cd08" (& "&") (identifier "PTR_FUN_0038cd08"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

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

{
  std::function_1::function_1(type_1(function_1 *)this);
  *(type_2 ***)this = &PTR__stdio_filebuf_0038cd08;
  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_00215250(param_1);
  *param_1 = &PTR_FUN_0038cd08;
  return;
}

