
/* std::__codecvt_utf8_base<wchar_t>::do_in(__mbstate_t&, char const*, char const*, char const*&,
   wchar_t*, wchar_t*, wchar_t*&) const */

void __thiscall
std::__codecvt_utf8_base<wchar_t>::do_in
          (__codecvt_utf8_base<wchar_t> *this,__mbstate_t *param_1,char *param_2,char *param_3,
          char **param_4,wchar_t *param_5,wchar_t *param_6,wchar_t **param_7)

{
  wchar_t *local_18;
  wchar_t *local_14;
  char *local_10;
  char *local_c;
  
  local_18 = param_5;
  local_14 = param_6;
  local_10 = param_2;
  local_c = param_3;
  (anonymous_namespace)::ucs4_in
            (&local_10,&local_18,*(undefined4 *)(this + 0xc),*(undefined4 *)(this + 0x10));
  *param_4 = local_10;
  *param_7 = local_18;
  return;
}



void FUN_003d98e4(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,
                 undefined4 *param_5,undefined4 param_6,undefined4 param_7,undefined4 *param_8)

{
  undefined4 local_18;
  undefined4 local_14;
  undefined4 local_10;
  undefined4 local_c;
  
  local_18 = param_6;
  local_14 = param_7;
  local_10 = param_3;
  local_c = param_4;
  FUN_003d9718(&local_10,&local_18,*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10));
  *param_5 = local_10;
  *param_8 = local_18;
  return;
}


lui gp,0xf
addiu gp,gp,-0x6a4
addu gp,gp,t9
addiu sp,sp,-0x30
lw t9,-0x398c(gp)
or v0,a0,zero
addiu a1,sp,0x18
lw v1,0x44(sp)
addiu a0,sp,0x20
sw a2,0x20(sp)
addiu t9,t9,-0x68e8
sw a3,0x24(sp)
sw v1,0x18(sp)
sw ra,0x2c(sp)
sw gp,0x10(sp)
lw v1,0x48(sp)
lw a3,0x10(v0)
lw a2,0xc(v0)
bal 0x003d9718
_sw v1,0x1c(sp)
lw v1,0x40(sp)
lw a0,0x20(sp)
lw ra,0x2c(sp)
sw a0,0x0(v1)
lw v1,0x4c(sp)
lw a0,0x18(sp)
sw a0,0x0(v1)
jr ra
_addiu sp,sp,0x30
(translation_unit "void FUN_003d98e4(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 *param_5,undefined4 param_6,undefined4 param_7,undefined4 *param_8)\n\n{\n  undefined4 local_18;\n  undefined4 local_14;\n  undefined4 local_10;\n  undefined4 local_c;\n  \n  local_18 = param_6;\n  local_14 = param_7;\n  local_10 = param_3;\n  local_c = param_4;\n  FUN_003d9718(&local_10,&local_18,*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10));\n  *param_5 = local_10;\n  *param_8 = local_18;\n  return;\n}\n\n" (function_definition "void FUN_003d98e4(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 *param_5,undefined4 param_6,undefined4 param_7,undefined4 *param_8)\n\n{\n  undefined4 local_18;\n  undefined4 local_14;\n  undefined4 local_10;\n  undefined4 local_c;\n  \n  local_18 = param_6;\n  local_14 = param_7;\n  local_10 = param_3;\n  local_c = param_4;\n  FUN_003d9718(&local_10,&local_18,*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10));\n  *param_5 = local_10;\n  *param_8 = local_18;\n  return;\n}" primitive_type (function_declarator "FUN_003d98e4(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 *param_5,undefined4 param_6,undefined4 param_7,undefined4 *param_8)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 *param_5,undefined4 param_6,undefined4 param_7,undefined4 *param_8)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 *param_5" type_identifier (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "undefined4 param_7" type_identifier identifier) , (parameter_declaration "undefined4 *param_8" type_identifier (pointer_declarator "*param_8" * identifier)) ))) (compound_statement "{\n  undefined4 local_18;\n  undefined4 local_14;\n  undefined4 local_10;\n  undefined4 local_c;\n  \n  local_18 = param_6;\n  local_14 = param_7;\n  local_10 = param_3;\n  local_c = param_4;\n  FUN_003d9718(&local_10,&local_18,*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10));\n  *param_5 = local_10;\n  *param_8 = local_18;\n  return;\n}" { (declaration "undefined4 local_18;" type_identifier identifier ;) (declaration "undefined4 local_14;" type_identifier identifier ;) (declaration "undefined4 local_10;" type_identifier identifier ;) (declaration "undefined4 local_c;" type_identifier identifier ;) (expression_statement "local_18 = param_6;" (assignment_expression "local_18 = param_6" identifier = identifier) ;) (expression_statement "local_14 = param_7;" (assignment_expression "local_14 = param_7" identifier = identifier) ;) (expression_statement "local_10 = param_3;" (assignment_expression "local_10 = param_3" identifier = identifier) ;) (expression_statement "local_c = param_4;" (assignment_expression "local_c = param_4" identifier = identifier) ;) (expression_statement "FUN_003d9718(&local_10,&local_18,*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10));" (call_expression "FUN_003d9718(&local_10,&local_18,*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10))" identifier (argument_list "(&local_10,&local_18,*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10))" ( (pointer_expression "&local_10" & identifier) , (pointer_expression "&local_18" & identifier) , (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) ))) ;) (expression_statement "*param_5 = local_10;" (assignment_expression "*param_5 = local_10" (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_utf8_base<wchar_t>::do_in(__mbstate_t&, char const*, char const*, char const*&,\n   wchar_t*, wchar_t*, wchar_t*&) const */\n\nvoid __thiscall\nstd::__codecvt_utf8_base<wchar_t>::do_in\n          (__codecvt_utf8_base<wchar_t> *this,__mbstate_t *param_1,char *param_2,char *param_3,\n          char **param_4,wchar_t *param_5,wchar_t *param_6,wchar_t **param_7)\n\n{\n  wchar_t *local_18;\n  wchar_t *local_14;\n  char *local_10;\n  char *local_c;\n  \n  local_18 = param_5;\n  local_14 = param_6;\n  local_10 = param_2;\n  local_c = param_3;\n  (anonymous_namespace)::ucs4_in\n            (&local_10,&local_18,*(undefined4 *)(this + 0xc),*(undefined4 *)(this + 0x10));\n  *param_4 = local_10;\n  *param_7 = local_18;\n  return;\n}\n\n" comment (function_definition "void __thiscall\nstd::__codecvt_utf8_base<wchar_t>::do_in\n          (__codecvt_utf8_base<wchar_t> *this,__mbstate_t *param_1,char *param_2,char *param_3,\n          char **param_4,wchar_t *param_5,wchar_t *param_6,wchar_t **param_7)\n\n{\n  wchar_t *local_18;\n  wchar_t *local_14;\n  char *local_10;\n  char *local_c;\n  \n  local_18 = param_5;\n  local_14 = param_6;\n  local_10 = param_2;\n  local_c = param_3;\n  (anonymous_namespace)::ucs4_in\n            (&local_10,&local_18,*(undefined4 *)(this + 0xc),*(undefined4 *)(this + 0x10));\n  *param_4 = local_10;\n  *param_7 = local_18;\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::__codecvt_utf8_base<wchar_t>::" identifier : : identifier < identifier > : :) (function_declarator "do_in\n          (__codecvt_utf8_base<wchar_t> *this,__mbstate_t *param_1,char *param_2,char *param_3,\n          char **param_4,wchar_t *param_5,wchar_t *param_6,wchar_t **param_7)" identifier (parameter_list "(__codecvt_utf8_base<wchar_t> *this,__mbstate_t *param_1,char *param_2,char *param_3,\n          char **param_4,wchar_t *param_5,wchar_t *param_6,wchar_t **param_7)" ( (parameter_declaration "__codecvt_utf8_base<wchar_t> *this" type_identifier (ERROR "<wchar_t>" < identifier >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "__mbstate_t *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "char **param_4" primitive_type (pointer_declarator "**param_4" * (pointer_declarator "*param_4" * identifier))) , (parameter_declaration "wchar_t *param_5" type_identifier (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "wchar_t *param_6" type_identifier (pointer_declarator "*param_6" * identifier)) , (parameter_declaration "wchar_t **param_7" type_identifier (pointer_declarator "**param_7" * (pointer_declarator "*param_7" * identifier))) ))) (compound_statement "{\n  wchar_t *local_18;\n  wchar_t *local_14;\n  char *local_10;\n  char *local_c;\n  \n  local_18 = param_5;\n  local_14 = param_6;\n  local_10 = param_2;\n  local_c = param_3;\n  (anonymous_namespace)::ucs4_in\n            (&local_10,&local_18,*(undefined4 *)(this + 0xc),*(undefined4 *)(this + 0x10));\n  *param_4 = local_10;\n  *param_7 = local_18;\n  return;\n}" { (declaration "wchar_t *local_18;" type_identifier (pointer_declarator "*local_18" * identifier) ;) (declaration "wchar_t *local_14;" type_identifier (pointer_declarator "*local_14" * identifier) ;) (declaration "char *local_10;" primitive_type (pointer_declarator "*local_10" * identifier) ;) (declaration "char *local_c;" primitive_type (pointer_declarator "*local_c" * identifier) ;) (expression_statement "local_18 = param_5;" (assignment_expression "local_18 = param_5" identifier = identifier) ;) (expression_statement "local_14 = param_6;" (assignment_expression "local_14 = param_6" identifier = identifier) ;) (expression_statement "local_10 = param_2;" (assignment_expression "local_10 = param_2" identifier = identifier) ;) (expression_statement "local_c = param_3;" (assignment_expression "local_c = param_3" identifier = identifier) ;) (ERROR "(anonymous_namespace)::" (parenthesized_expression "(anonymous_namespace)" ( identifier )) : :) (expression_statement "ucs4_in\n            (&local_10,&local_18,*(undefined4 *)(this + 0xc),*(undefined4 *)(this + 0x10));" (call_expression "ucs4_in\n            (&local_10,&local_18,*(undefined4 *)(this + 0xc),*(undefined4 *)(this + 0x10))" identifier (argument_list "(&local_10,&local_18,*(undefined4 *)(this + 0xc),*(undefined4 *)(this + 0x10))" ( (pointer_expression "&local_10" & identifier) , (pointer_expression "&local_18" & identifier) , (pointer_expression "*(undefined4 *)(this + 0xc)" * (cast_expression "(undefined4 *)(this + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xc)" ( (binary_expression "this + 0xc" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(this + 0x10)" * (cast_expression "(undefined4 *)(this + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) ))) ;) (expression_statement "*param_4 = local_10;" (assignment_expression "*param_4 = local_10" (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 ;) })))
(translation_unit "void FUN_003d98e4(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 *param_5,undefined4 param_6,undefined4 param_7,undefined4 *param_8)\n\n{\n  undefined4 local_18;\n  undefined4 local_14;\n  undefined4 local_10;\n  undefined4 local_c;\n  \n  local_18 = param_6;\n  local_14 = param_7;\n  local_10 = param_3;\n  local_c = param_4;\n  FUN_003d9718(&local_10,&local_18,*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10));\n  *param_5 = local_10;\n  *param_8 = local_18;\n  return;\n}\n\n" (function_definition "void FUN_003d98e4(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 *param_5,undefined4 param_6,undefined4 param_7,undefined4 *param_8)\n\n{\n  undefined4 local_18;\n  undefined4 local_14;\n  undefined4 local_10;\n  undefined4 local_c;\n  \n  local_18 = param_6;\n  local_14 = param_7;\n  local_10 = param_3;\n  local_c = param_4;\n  FUN_003d9718(&local_10,&local_18,*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10));\n  *param_5 = local_10;\n  *param_8 = local_18;\n  return;\n}" primitive_type (function_declarator "FUN_003d98e4(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 *param_5,undefined4 param_6,undefined4 param_7,undefined4 *param_8)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 *param_5,undefined4 param_6,undefined4 param_7,undefined4 *param_8)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 *param_5" type_identifier (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "undefined4 param_7" type_identifier identifier) , (parameter_declaration "undefined4 *param_8" type_identifier (pointer_declarator "*param_8" * identifier)) ))) (compound_statement "{\n  undefined4 local_18;\n  undefined4 local_14;\n  undefined4 local_10;\n  undefined4 local_c;\n  \n  local_18 = param_6;\n  local_14 = param_7;\n  local_10 = param_3;\n  local_c = param_4;\n  FUN_003d9718(&local_10,&local_18,*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10));\n  *param_5 = local_10;\n  *param_8 = local_18;\n  return;\n}" { (declaration "undefined4 local_18;" type_identifier identifier ;) (declaration "undefined4 local_14;" type_identifier identifier ;) (declaration "undefined4 local_10;" type_identifier identifier ;) (declaration "undefined4 local_c;" type_identifier identifier ;) (expression_statement "local_18 = param_6;" (assignment_expression "local_18 = param_6" identifier = identifier) ;) (expression_statement "local_14 = param_7;" (assignment_expression "local_14 = param_7" identifier = identifier) ;) (expression_statement "local_10 = param_3;" (assignment_expression "local_10 = param_3" identifier = identifier) ;) (expression_statement "local_c = param_4;" (assignment_expression "local_c = param_4" identifier = identifier) ;) (expression_statement "FUN_003d9718(&local_10,&local_18,*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10));" (call_expression "FUN_003d9718(&local_10,&local_18,*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10))" identifier (argument_list "(&local_10,&local_18,*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10))" ( (pointer_expression "&local_10" & identifier) , (pointer_expression "&local_18" & identifier) , (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) ))) ;) (expression_statement "*param_5 = local_10;" (assignment_expression "*param_5 = local_10" (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) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_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_003d98e4(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 *param_5,undefined4 param_6,undefined4 param_7,undefined4 *param_8)\n\n{\n  undefined4 local_18;\n  undefined4 local_14;\n  undefined4 local_10;\n  undefined4 local_c;\n  \n  local_18 = param_6;\n  local_14 = param_7;\n  local_10 = param_3;\n  local_c = param_4;\n  FUN_003d9718(&local_10,&local_18,*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10));\n  *param_5 = local_10;\n  *param_8 = local_18;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_003d98e4(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 *param_5,undefined4 param_6,undefined4 param_7,undefined4 *param_8)" (identifier "FUN_003d98e4") (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 *param_5,undefined4 param_6,undefined4 param_7,undefined4 *param_8)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 *param_5" (type_identifier "undefined4") (pointer_declarator "*param_5" (* "*") (identifier "param_5"))) (, ",") (parameter_declaration "undefined4 param_6" (type_identifier "undefined4") (identifier "param_6")) (, ",") (parameter_declaration "undefined4 param_7" (type_identifier "undefined4") (identifier "param_7")) (, ",") (parameter_declaration "undefined4 *param_8" (type_identifier "undefined4") (pointer_declarator "*param_8" (* "*") (identifier "param_8"))) () ")"))) (compound_statement "{\n  undefined4 local_18;\n  undefined4 local_14;\n  undefined4 local_10;\n  undefined4 local_c;\n  \n  local_18 = param_6;\n  local_14 = param_7;\n  local_10 = param_3;\n  local_c = param_4;\n  FUN_003d9718(&local_10,&local_18,*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10));\n  *param_5 = local_10;\n  *param_8 = local_18;\n  return;\n}" ({ "{") (declaration "undefined4 local_18;" (type_identifier "undefined4") (identifier "local_18") (; ";")) (declaration "undefined4 local_14;" (type_identifier "undefined4") (identifier "local_14") (; ";")) (declaration "undefined4 local_10;" (type_identifier "undefined4") (identifier "local_10") (; ";")) (declaration "undefined4 local_c;" (type_identifier "undefined4") (identifier "local_c") (; ";")) (expression_statement "local_18 = param_6;" (assignment_expression "local_18 = param_6" (identifier "local_18") (= "=") (identifier "param_6")) (; ";")) (expression_statement "local_14 = param_7;" (assignment_expression "local_14 = param_7" (identifier "local_14") (= "=") (identifier "param_7")) (; ";")) (expression_statement "local_10 = param_3;" (assignment_expression "local_10 = param_3" (identifier "local_10") (= "=") (identifier "param_3")) (; ";")) (expression_statement "local_c = param_4;" (assignment_expression "local_c = param_4" (identifier "local_c") (= "=") (identifier "param_4")) (; ";")) (expression_statement "FUN_003d9718(&local_10,&local_18,*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10));" (call_expression "FUN_003d9718(&local_10,&local_18,*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10))" (identifier "FUN_003d9718") (argument_list "(&local_10,&local_18,*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10))" (( "(") (pointer_expression "&local_10" (& "&") (identifier "local_10")) (, ",") (pointer_expression "&local_18" (& "&") (identifier "local_18")) (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) () ")"))) (; ";")) (expression_statement "*param_5 = local_10;" (assignment_expression "*param_5 = local_10" (pointer_expression "*param_5" (* "*") (identifier "param_5")) (= "=") (identifier "local_10")) (; ";")) (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_utf8_base<wchar_t>::do_in(__mbstate_t&, char const*, char const*, char const*&,
   wchar_t*, wchar_t*, wchar_t*&) const */

void __thiscall
std::type_1<type_3>::function_1
          (type_1<type_3> *var_2,type_2 *param_1,char *param_2,char *param_3,
          char **param_4,type_3 *param_5,type_3 *param_6,type_3 **param_7)

{
  type_3 *local_18;
  type_3 *local_14;
  char *local_10;
  char *local_c;
  
  local_18 = param_5;
  local_14 = param_6;
  local_10 = param_2;
  local_c = param_3;
  (anonymous_namespace)::var_1
            (&local_10,&local_18,*(type_4 *)(var_2 + 0xc),*(type_4 *)(var_2 + 0x10));
  *param_4 = local_10;
  *param_7 = local_18;
  return;
}


(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: (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)) (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))))) (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: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (return_statement))))

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

{
  undefined4 local_18;
  undefined4 local_14;
  undefined4 local_10;
  undefined4 local_c;
  
  local_18 = param_6;
  local_14 = param_7;
  local_10 = param_3;
  local_c = param_4;
  FUN_003d9718(&local_10,&local_18,*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x10));
  *param_5 = local_10;
  *param_8 = local_18;
  return;
}

