
/* std::__basic_file<char>::xsputn(char const*, long) */

void __thiscall std::__basic_file<char>::xsputn(__basic_file<char> *this,char *param_1,long param_2)

{
  int iVar1;
  
  iVar1 = fd(this);
  ::(anonymous_namespace)::xwrite(iVar1,param_1,param_2);
  return;
}



void FUN_00339170(undefined8 param_1,undefined8 param_2,undefined8 param_3)

{
  undefined4 uVar1;
  
  uVar1 = FUN_003390a0();
  FUN_00338ed0(uVar1,param_2,param_3);
  return;
}


PUSH RBP
MOV RBP,RDX
PUSH RBX
MOV RBX,RSI
SUB RSP,0x8
CALL 0x003390a0
ADD RSP,0x8
MOV RDX,RBP
MOV RSI,RBX
MOV EDI,EAX
POP RBX
POP RBP
JMP 0x00338ed0
(translation_unit "void FUN_00339170(undefined8 param_1,undefined8 param_2,undefined8 param_3)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_003390a0();\n  FUN_00338ed0(uVar1,param_2,param_3);\n  return;\n}\n\n" (function_definition "void FUN_00339170(undefined8 param_1,undefined8 param_2,undefined8 param_3)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_003390a0();\n  FUN_00338ed0(uVar1,param_2,param_3);\n  return;\n}" primitive_type (function_declarator "FUN_00339170(undefined8 param_1,undefined8 param_2,undefined8 param_3)" identifier (parameter_list "(undefined8 param_1,undefined8 param_2,undefined8 param_3)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_003390a0();\n  FUN_00338ed0(uVar1,param_2,param_3);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = FUN_003390a0();" (assignment_expression "uVar1 = FUN_003390a0()" identifier = (call_expression "FUN_003390a0()" identifier (argument_list "()" ( )))) ;) (expression_statement "FUN_00338ed0(uVar1,param_2,param_3);" (call_expression "FUN_00338ed0(uVar1,param_2,param_3)" identifier (argument_list "(uVar1,param_2,param_3)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* std::__basic_file<char>::xsputn(char const*, long) */\n\nvoid __thiscall std::__basic_file<char>::xsputn(__basic_file<char> *this,char *param_1,long param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = fd(this);\n  ::(anonymous_namespace)::xwrite(iVar1,param_1,param_2);\n  return;\n}\n\n" comment (function_definition "void __thiscall std::__basic_file<char>::xsputn(__basic_file<char> *this,char *param_1,long param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = fd(this);\n  ::(anonymous_namespace)::xwrite(iVar1,param_1,param_2);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::__basic_file<char>::" identifier : : identifier < primitive_type > : :) (function_declarator "xsputn(__basic_file<char> *this,char *param_1,long param_2)" identifier (parameter_list "(__basic_file<char> *this,char *param_1,long param_2)" ( (parameter_declaration "__basic_file<char> *this" type_identifier (ERROR "<char>" < primitive_type >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = fd(this);\n  ::(anonymous_namespace)::xwrite(iVar1,param_1,param_2);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = fd(this);" (assignment_expression "iVar1 = fd(this)" identifier = (call_expression "fd(this)" identifier (argument_list "(this)" ( identifier )))) ;) (ERROR "::(" : : () (labeled_statement "anonymous_namespace)::xwrite(iVar1,param_1,param_2);" statement_identifier (ERROR "):" ) :) : (expression_statement "xwrite(iVar1,param_1,param_2);" (call_expression "xwrite(iVar1,param_1,param_2)" identifier (argument_list "(iVar1,param_1,param_2)" ( identifier , identifier , identifier ))) ;)) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00339170(undefined8 param_1,undefined8 param_2,undefined8 param_3)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_003390a0();\n  FUN_00338ed0(uVar1,param_2,param_3);\n  return;\n}\n\n" (function_definition "void FUN_00339170(undefined8 param_1,undefined8 param_2,undefined8 param_3)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_003390a0();\n  FUN_00338ed0(uVar1,param_2,param_3);\n  return;\n}" primitive_type (function_declarator "FUN_00339170(undefined8 param_1,undefined8 param_2,undefined8 param_3)" identifier (parameter_list "(undefined8 param_1,undefined8 param_2,undefined8 param_3)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_003390a0();\n  FUN_00338ed0(uVar1,param_2,param_3);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = FUN_003390a0();" (assignment_expression "uVar1 = FUN_003390a0()" identifier = (call_expression "FUN_003390a0()" identifier (argument_list "()" ( )))) ;) (expression_statement "FUN_00338ed0(uVar1,param_2,param_3);" (call_expression "FUN_00338ed0(uVar1,param_2,param_3)" identifier (argument_list "(uVar1,param_2,param_3)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00339170(undefined8 param_1,undefined8 param_2,undefined8 param_3)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_003390a0();\n  FUN_00338ed0(uVar1,param_2,param_3);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00339170(undefined8 param_1,undefined8 param_2,undefined8 param_3)" (identifier "FUN_00339170") (parameter_list "(undefined8 param_1,undefined8 param_2,undefined8 param_3)" (( "(") (parameter_declaration "undefined8 param_1" (type_identifier "undefined8") (identifier "param_1")) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) (, ",") (parameter_declaration "undefined8 param_3" (type_identifier "undefined8") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_003390a0();\n  FUN_00338ed0(uVar1,param_2,param_3);\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = FUN_003390a0();" (assignment_expression "uVar1 = FUN_003390a0()" (identifier "uVar1") (= "=") (call_expression "FUN_003390a0()" (identifier "FUN_003390a0") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "FUN_00338ed0(uVar1,param_2,param_3);" (call_expression "FUN_00338ed0(uVar1,param_2,param_3)" (identifier "FUN_00338ed0") (argument_list "(uVar1,param_2,param_3)" (( "(") (identifier "uVar1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::__basic_file<char>::xsputn(char const*, long) */

void __thiscall std::type_1<char>::function_1(type_1<char> *this,char *param_1,long param_2)

{
  int iVar1;
  
  iVar1 = var_1(this);
  ::(anonymous_namespace)::var_2(iVar1,param_1,param_2);
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (return_statement))))

void MASKED(undefined8 param_1,undefined8 param_2,undefined8 param_3)

{
  undefined4 uVar1;
  
  uVar1 = FUN_003390a0();
  FUN_00338ed0(uVar1,param_2,param_3);
  return;
}

