
/* std::codecvt<char32_t, char, __mbstate_t>::do_out(__mbstate_t&, char32_t const*, char32_t const*,
   char32_t const*&, char*, char*, char*&) const */

void __thiscall
std::codecvt<char32_t,char,__mbstate_t>::do_out
          (codecvt<char32_t,char,__mbstate_t> *this,__mbstate_t *param_1,wchar32 *param_2,
          wchar32 *param_3,wchar32 **param_4,char *param_5,char *param_6,char **param_7)

{
  wchar32 *local_28;
  wchar32 *local_20;
  char *local_18;
  char *local_10;
  
  local_10 = param_6;
  local_28 = param_2;
  local_20 = param_3;
  local_18 = param_5;
  (anonymous_namespace)::ucs4_out(&local_28,&local_18,0x10ffff);
  *param_4 = local_28;
  *param_7 = local_18;
  return;
}



void FUN_00359af0(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,
                 undefined8 *param_5,undefined8 param_6,undefined8 param_7,undefined8 *param_8)

{
  undefined8 local_28;
  undefined8 local_20;
  undefined8 local_18;
  undefined8 local_10;
  
  local_10 = param_7;
  local_28 = param_3;
  local_20 = param_4;
  local_18 = param_6;
  FUN_00359a20(&local_28,&local_18,0x10ffff);
  *param_5 = local_28;
  *param_8 = local_18;
  return;
}


SUB RSP,0x28
MOV R11,R8
MOV RAX,qword ptr [RSP + 0x30]
MOV qword ptr [RSP],RDX
LEA RSI,[RSP + 0x10]
MOV RDI,RSP
MOV EDX,0x10ffff
MOV qword ptr [RSP + 0x8],RCX
MOV qword ptr [RSP + 0x10],R9
MOV qword ptr [RSP + 0x18],RAX
CALL 0x00359a20
MOV RDX,qword ptr [RSP]
MOV RCX,qword ptr [RSP + 0x10]
MOV qword ptr [R11],RDX
MOV RDX,qword ptr [RSP + 0x38]
MOV qword ptr [RDX],RCX
ADD RSP,0x28
RET
(translation_unit "void FUN_00359af0(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,\n                 undefined8 *param_5,undefined8 param_6,undefined8 param_7,undefined8 *param_8)\n\n{\n  undefined8 local_28;\n  undefined8 local_20;\n  undefined8 local_18;\n  undefined8 local_10;\n  \n  local_10 = param_7;\n  local_28 = param_3;\n  local_20 = param_4;\n  local_18 = param_6;\n  FUN_00359a20(&local_28,&local_18,0x10ffff);\n  *param_5 = local_28;\n  *param_8 = local_18;\n  return;\n}\n\n" (function_definition "void FUN_00359af0(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,\n                 undefined8 *param_5,undefined8 param_6,undefined8 param_7,undefined8 *param_8)\n\n{\n  undefined8 local_28;\n  undefined8 local_20;\n  undefined8 local_18;\n  undefined8 local_10;\n  \n  local_10 = param_7;\n  local_28 = param_3;\n  local_20 = param_4;\n  local_18 = param_6;\n  FUN_00359a20(&local_28,&local_18,0x10ffff);\n  *param_5 = local_28;\n  *param_8 = local_18;\n  return;\n}" primitive_type (function_declarator "FUN_00359af0(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,\n                 undefined8 *param_5,undefined8 param_6,undefined8 param_7,undefined8 *param_8)" identifier (parameter_list "(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,\n                 undefined8 *param_5,undefined8 param_6,undefined8 param_7,undefined8 *param_8)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) , (parameter_declaration "undefined8 param_4" type_identifier identifier) , (parameter_declaration "undefined8 *param_5" type_identifier (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "undefined8 param_6" type_identifier identifier) , (parameter_declaration "undefined8 param_7" type_identifier identifier) , (parameter_declaration "undefined8 *param_8" type_identifier (pointer_declarator "*param_8" * identifier)) ))) (compound_statement "{\n  undefined8 local_28;\n  undefined8 local_20;\n  undefined8 local_18;\n  undefined8 local_10;\n  \n  local_10 = param_7;\n  local_28 = param_3;\n  local_20 = param_4;\n  local_18 = param_6;\n  FUN_00359a20(&local_28,&local_18,0x10ffff);\n  *param_5 = local_28;\n  *param_8 = local_18;\n  return;\n}" { (declaration "undefined8 local_28;" type_identifier identifier ;) (declaration "undefined8 local_20;" type_identifier identifier ;) (declaration "undefined8 local_18;" type_identifier identifier ;) (declaration "undefined8 local_10;" type_identifier identifier ;) (expression_statement "local_10 = param_7;" (assignment_expression "local_10 = param_7" identifier = identifier) ;) (expression_statement "local_28 = param_3;" (assignment_expression "local_28 = param_3" identifier = identifier) ;) (expression_statement "local_20 = param_4;" (assignment_expression "local_20 = param_4" identifier = identifier) ;) (expression_statement "local_18 = param_6;" (assignment_expression "local_18 = param_6" identifier = identifier) ;) (expression_statement "FUN_00359a20(&local_28,&local_18,0x10ffff);" (call_expression "FUN_00359a20(&local_28,&local_18,0x10ffff)" identifier (argument_list "(&local_28,&local_18,0x10ffff)" ( (pointer_expression "&local_28" & identifier) , (pointer_expression "&local_18" & identifier) , number_literal ))) ;) (expression_statement "*param_5 = local_28;" (assignment_expression "*param_5 = local_28" (pointer_expression "*param_5" * identifier) = identifier) ;) (expression_statement "*param_8 = local_18;" (assignment_expression "*param_8 = local_18" (pointer_expression "*param_8" * identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* std::codecvt<char32_t, char, __mbstate_t>::do_out(__mbstate_t&, char32_t const*, char32_t const*,\n   char32_t const*&, char*, char*, char*&) const */\n\nvoid __thiscall\nstd::codecvt<char32_t,char,__mbstate_t>::do_out\n          (codecvt<char32_t,char,__mbstate_t> *this,__mbstate_t *param_1,wchar32 *param_2,\n          wchar32 *param_3,wchar32 **param_4,char *param_5,char *param_6,char **param_7)\n\n{\n  wchar32 *local_28;\n  wchar32 *local_20;\n  char *local_18;\n  char *local_10;\n  \n  local_10 = param_6;\n  local_28 = param_2;\n  local_20 = param_3;\n  local_18 = param_5;\n  (anonymous_namespace)::ucs4_out(&local_28,&local_18,0x10ffff);\n  *param_4 = local_28;\n  *param_7 = local_18;\n  return;\n}\n\n" comment (declaration "void __thiscall\nstd::codecvt<char32_t,char,__mbstate_t>::do_out\n          (codecvt<char32_t,char,__mbstate_t> *this,__mbstate_t *param_1,wchar32 *param_2,\n          wchar32 *param_3,wchar32 **param_4,char *param_5,char *param_6,char **param_7)\n\n{\n  wchar32 *local_28;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::" identifier : :) identifier (ERROR "<char32_t" < primitive_type) , identifier , (ERROR "__mbstate_t>::do_out\n          (codecvt<char32_t,char,__mbstate_t> *this,__mbstate_t *param_1,wchar32 *param_2,\n          wchar32 *param_3,wchar32 **param_4,char *param_5,char *param_6,char **param_7)\n\n{\n  wchar32" (function_declarator "__mbstate_t>::do_out\n          (codecvt<char32_t,char,__mbstate_t> *this,__mbstate_t *param_1,wchar32 *param_2,\n          wchar32 *param_3,wchar32 **param_4,char *param_5,char *param_6,char **param_7)" identifier (ERROR ">::do_out" > : : identifier) (parameter_list "(codecvt<char32_t,char,__mbstate_t> *this,__mbstate_t *param_1,wchar32 *param_2,\n          wchar32 *param_3,wchar32 **param_4,char *param_5,char *param_6,char **param_7)" ( (ERROR "codecvt<" identifier <) (parameter_declaration "char32_t" primitive_type) , (parameter_declaration "char" primitive_type) , (parameter_declaration "__mbstate_t> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "__mbstate_t *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "wchar32 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "wchar32 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "wchar32 **param_4" type_identifier (pointer_declarator "**param_4" * (pointer_declarator "*param_4" * identifier))) , (parameter_declaration "char *param_5" primitive_type (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "char *param_6" primitive_type (pointer_declarator "*param_6" * identifier)) , (parameter_declaration "char **param_7" primitive_type (pointer_declarator "**param_7" * (pointer_declarator "*param_7" * identifier))) ))) { identifier) (pointer_declarator "*local_28" * identifier) ;) (declaration "wchar32 *local_20;" type_identifier (pointer_declarator "*local_20" * identifier) ;) (declaration "char *local_18;" primitive_type (pointer_declarator "*local_18" * identifier) ;) (declaration "char *local_10;" primitive_type (pointer_declarator "*local_10" * identifier) ;) (expression_statement "local_10 = param_6;" (assignment_expression "local_10 = param_6" identifier = identifier) ;) (expression_statement "local_28 = param_2;" (assignment_expression "local_28 = param_2" identifier = identifier) ;) (expression_statement "local_20 = param_3;" (assignment_expression "local_20 = param_3" identifier = identifier) ;) (expression_statement "local_18 = param_5;" (assignment_expression "local_18 = param_5" identifier = identifier) ;) (ERROR "(anonymous_namespace)::" (parenthesized_expression "(anonymous_namespace)" ( identifier )) : :) (expression_statement "ucs4_out(&local_28,&local_18,0x10ffff);" (call_expression "ucs4_out(&local_28,&local_18,0x10ffff)" identifier (argument_list "(&local_28,&local_18,0x10ffff)" ( (pointer_expression "&local_28" & identifier) , (pointer_expression "&local_18" & identifier) , number_literal ))) ;) (expression_statement "*param_4 = local_28;" (assignment_expression "*param_4 = local_28" (pointer_expression "*param_4" * identifier) = identifier) ;) (expression_statement "*param_7 = local_18;" (assignment_expression "*param_7 = local_18" (pointer_expression "*param_7" * identifier) = identifier) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_00359af0(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,\n                 undefined8 *param_5,undefined8 param_6,undefined8 param_7,undefined8 *param_8)\n\n{\n  undefined8 local_28;\n  undefined8 local_20;\n  undefined8 local_18;\n  undefined8 local_10;\n  \n  local_10 = param_7;\n  local_28 = param_3;\n  local_20 = param_4;\n  local_18 = param_6;\n  FUN_00359a20(&local_28,&local_18,0x10ffff);\n  *param_5 = local_28;\n  *param_8 = local_18;\n  return;\n}\n\n" (function_definition "void FUN_00359af0(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,\n                 undefined8 *param_5,undefined8 param_6,undefined8 param_7,undefined8 *param_8)\n\n{\n  undefined8 local_28;\n  undefined8 local_20;\n  undefined8 local_18;\n  undefined8 local_10;\n  \n  local_10 = param_7;\n  local_28 = param_3;\n  local_20 = param_4;\n  local_18 = param_6;\n  FUN_00359a20(&local_28,&local_18,0x10ffff);\n  *param_5 = local_28;\n  *param_8 = local_18;\n  return;\n}" primitive_type (function_declarator "FUN_00359af0(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,\n                 undefined8 *param_5,undefined8 param_6,undefined8 param_7,undefined8 *param_8)" identifier (parameter_list "(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,\n                 undefined8 *param_5,undefined8 param_6,undefined8 param_7,undefined8 *param_8)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) , (parameter_declaration "undefined8 param_4" type_identifier identifier) , (parameter_declaration "undefined8 *param_5" type_identifier (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "undefined8 param_6" type_identifier identifier) , (parameter_declaration "undefined8 param_7" type_identifier identifier) , (parameter_declaration "undefined8 *param_8" type_identifier (pointer_declarator "*param_8" * identifier)) ))) (compound_statement "{\n  undefined8 local_28;\n  undefined8 local_20;\n  undefined8 local_18;\n  undefined8 local_10;\n  \n  local_10 = param_7;\n  local_28 = param_3;\n  local_20 = param_4;\n  local_18 = param_6;\n  FUN_00359a20(&local_28,&local_18,0x10ffff);\n  *param_5 = local_28;\n  *param_8 = local_18;\n  return;\n}" { (declaration "undefined8 local_28;" type_identifier identifier ;) (declaration "undefined8 local_20;" type_identifier identifier ;) (declaration "undefined8 local_18;" type_identifier identifier ;) (declaration "undefined8 local_10;" type_identifier identifier ;) (expression_statement "local_10 = param_7;" (assignment_expression "local_10 = param_7" identifier = identifier) ;) (expression_statement "local_28 = param_3;" (assignment_expression "local_28 = param_3" identifier = identifier) ;) (expression_statement "local_20 = param_4;" (assignment_expression "local_20 = param_4" identifier = identifier) ;) (expression_statement "local_18 = param_6;" (assignment_expression "local_18 = param_6" identifier = identifier) ;) (expression_statement "FUN_00359a20(&local_28,&local_18,0x10ffff);" (call_expression "FUN_00359a20(&local_28,&local_18,0x10ffff)" identifier (argument_list "(&local_28,&local_18,0x10ffff)" ( (pointer_expression "&local_28" & identifier) , (pointer_expression "&local_18" & identifier) , number_literal ))) ;) (expression_statement "*param_5 = local_28;" (assignment_expression "*param_5 = local_28" (pointer_expression "*param_5" * identifier) = identifier) ;) (expression_statement "*param_8 = local_18;" (assignment_expression "*param_8 = local_18" (pointer_expression "*param_8" * 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) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (pointer_expression & IDENT) , LIT ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_00359af0(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,\n                 undefined8 *param_5,undefined8 param_6,undefined8 param_7,undefined8 *param_8)\n\n{\n  undefined8 local_28;\n  undefined8 local_20;\n  undefined8 local_18;\n  undefined8 local_10;\n  \n  local_10 = param_7;\n  local_28 = param_3;\n  local_20 = param_4;\n  local_18 = param_6;\n  FUN_00359a20(&local_28,&local_18,0x10ffff);\n  *param_5 = local_28;\n  *param_8 = local_18;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00359af0(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,\n                 undefined8 *param_5,undefined8 param_6,undefined8 param_7,undefined8 *param_8)" (identifier "FUN_00359af0") (parameter_list "(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,\n                 undefined8 *param_5,undefined8 param_6,undefined8 param_7,undefined8 *param_8)" (( "(") (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")) (, ",") (parameter_declaration "undefined8 param_4" (type_identifier "undefined8") (identifier "param_4")) (, ",") (parameter_declaration "undefined8 *param_5" (type_identifier "undefined8") (pointer_declarator "*param_5" (* "*") (identifier "param_5"))) (, ",") (parameter_declaration "undefined8 param_6" (type_identifier "undefined8") (identifier "param_6")) (, ",") (parameter_declaration "undefined8 param_7" (type_identifier "undefined8") (identifier "param_7")) (, ",") (parameter_declaration "undefined8 *param_8" (type_identifier "undefined8") (pointer_declarator "*param_8" (* "*") (identifier "param_8"))) () ")"))) (compound_statement "{\n  undefined8 local_28;\n  undefined8 local_20;\n  undefined8 local_18;\n  undefined8 local_10;\n  \n  local_10 = param_7;\n  local_28 = param_3;\n  local_20 = param_4;\n  local_18 = param_6;\n  FUN_00359a20(&local_28,&local_18,0x10ffff);\n  *param_5 = local_28;\n  *param_8 = local_18;\n  return;\n}" ({ "{") (declaration "undefined8 local_28;" (type_identifier "undefined8") (identifier "local_28") (; ";")) (declaration "undefined8 local_20;" (type_identifier "undefined8") (identifier "local_20") (; ";")) (declaration "undefined8 local_18;" (type_identifier "undefined8") (identifier "local_18") (; ";")) (declaration "undefined8 local_10;" (type_identifier "undefined8") (identifier "local_10") (; ";")) (expression_statement "local_10 = param_7;" (assignment_expression "local_10 = param_7" (identifier "local_10") (= "=") (identifier "param_7")) (; ";")) (expression_statement "local_28 = param_3;" (assignment_expression "local_28 = param_3" (identifier "local_28") (= "=") (identifier "param_3")) (; ";")) (expression_statement "local_20 = param_4;" (assignment_expression "local_20 = param_4" (identifier "local_20") (= "=") (identifier "param_4")) (; ";")) (expression_statement "local_18 = param_6;" (assignment_expression "local_18 = param_6" (identifier "local_18") (= "=") (identifier "param_6")) (; ";")) (expression_statement "FUN_00359a20(&local_28,&local_18,0x10ffff);" (call_expression "FUN_00359a20(&local_28,&local_18,0x10ffff)" (identifier "FUN_00359a20") (argument_list "(&local_28,&local_18,0x10ffff)" (( "(") (pointer_expression "&local_28" (& "&") (identifier "local_28")) (, ",") (pointer_expression "&local_18" (& "&") (identifier "local_18")) (, ",") (number_literal "0x10ffff") () ")"))) (; ";")) (expression_statement "*param_5 = local_28;" (assignment_expression "*param_5 = local_28" (pointer_expression "*param_5" (* "*") (identifier "param_5")) (= "=") (identifier "local_28")) (; ";")) (expression_statement "*param_8 = local_18;" (assignment_expression "*param_8 = local_18" (pointer_expression "*param_8" (* "*") (identifier "param_8")) (= "=") (identifier "local_18")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::codecvt<char32_t, char, __mbstate_t>::do_out(__mbstate_t&, char32_t const*, char32_t const*,
   char32_t const*&, char*, char*, char*&) const */

void __thiscall
std::codecvt<char32_t,char,__mbstate_t>::do_out
          (codecvt<char32_t,char,__mbstate_t> *this,__mbstate_t *param_1,type_1 *param_2,
          type_1 *param_3,type_1 **param_4,char *param_5,char *param_6,char **param_7)

{
  type_1 *local_28;
  type_1 *local_20;
  char *local_18;
  char *local_10;
  
  local_10 = param_6;
  local_28 = param_2;
  local_20 = param_3;
  local_18 = param_5;
  (anonymous_namespace)::var_1(&local_28,&local_18,0x10ffff);
  *param_4 = local_28;
  *param_7 = local_18;
  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)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)) (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (return_statement))))

void MASKED(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,
                 undefined8 *param_5,undefined8 param_6,undefined8 param_7,undefined8 *param_8)

{
  undefined8 local_28;
  undefined8 local_20;
  undefined8 local_18;
  undefined8 local_10;
  
  local_10 = param_7;
  local_28 = param_3;
  local_20 = param_4;
  local_18 = param_6;
  FUN_00359a20(&local_28,&local_18,0x10ffff);
  *param_5 = local_28;
  *param_8 = local_18;
  return;
}

