
/* std::messages<wchar_t>::_M_convert_from_char(char*) const */

char * std::messages<wchar_t>::_M_convert_from_char(char *param_1)

{
  param_1[8] = '\0';
  param_1[9] = '\0';
  param_1[10] = '\0';
  param_1[0xb] = '\0';
  param_1[0xc] = '\0';
  param_1[0xd] = '\0';
  param_1[0xe] = '\0';
  param_1[0xf] = '\0';
  *(char **)param_1 = param_1 + 0x10;
  param_1[0x10] = '\0';
  param_1[0x11] = '\0';
  param_1[0x12] = '\0';
  param_1[0x13] = '\0';
  return param_1;
}



long * FUN_002dc540(long *param_1)

{
  param_1[1] = 0;
  *param_1 = (long)(param_1 + 2);
  *(undefined4 *)(param_1 + 2) = 0;
  return param_1;
}


LEA RDX,[RDI + 0x10]
MOV RAX,RDI
MOV qword ptr [RDI + 0x8],0x0
MOV qword ptr [RDI],RDX
MOV dword ptr [RDI + 0x10],0x0
RET
(translation_unit "long * FUN_002dc540(long *param_1)\n\n{\n  param_1[1] = 0;\n  *param_1 = (long)(param_1 + 2);\n  *(undefined4 *)(param_1 + 2) = 0;\n  return param_1;\n}\n\n" (function_definition "long * FUN_002dc540(long *param_1)\n\n{\n  param_1[1] = 0;\n  *param_1 = (long)(param_1 + 2);\n  *(undefined4 *)(param_1 + 2) = 0;\n  return param_1;\n}" (sized_type_specifier "long" long) (pointer_declarator "* FUN_002dc540(long *param_1)" * (function_declarator "FUN_002dc540(long *param_1)" identifier (parameter_list "(long *param_1)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) )))) (compound_statement "{\n  param_1[1] = 0;\n  *param_1 = (long)(param_1 + 2);\n  *(undefined4 *)(param_1 + 2) = 0;\n  return param_1;\n}" { (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = (long)(param_1 + 2);" (assignment_expression "*param_1 = (long)(param_1 + 2)" (pointer_expression "*param_1" * identifier) = (cast_expression "(long)(param_1 + 2)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) ;) (expression_statement "*(undefined4 *)(param_1 + 2) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 2) = 0" (pointer_expression "*(undefined4 *)(param_1 + 2)" * (cast_expression "(undefined4 *)(param_1 + 2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) = number_literal) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* std::messages<wchar_t>::_M_convert_from_char(char*) const */\n\nchar * std::messages<wchar_t>::_M_convert_from_char(char *param_1)\n\n{\n  param_1[8] = '\0';\n  param_1[9] = '\0';\n  param_1[10] = '\0';\n  param_1[0xb] = '\0';\n  param_1[0xc] = '\0';\n  param_1[0xd] = '\0';\n  param_1[0xe] = '\0';\n  param_1[0xf] = '\0';\n  *(char **)param_1 = param_1 + 0x10;\n  param_1[0x10] = '\0';\n  param_1[0x11] = '\0';\n  param_1[0x12] = '\0';\n  param_1[0x13] = '\0';\n  return param_1;\n}\n\n" comment (function_definition "char * std::messages<wchar_t>::_M_convert_from_char(char *param_1)\n\n{\n  param_1[8] = '\0';\n  param_1[9] = '\0';\n  param_1[10] = '\0';\n  param_1[0xb] = '\0';\n  param_1[0xc] = '\0';\n  param_1[0xd] = '\0';\n  param_1[0xe] = '\0';\n  param_1[0xf] = '\0';\n  *(char **)param_1 = param_1 + 0x10;\n  param_1[0x10] = '\0';\n  param_1[0x11] = '\0';\n  param_1[0x12] = '\0';\n  param_1[0x13] = '\0';\n  return param_1;\n}" primitive_type (pointer_declarator "* std::messages<wchar_t>::_M_convert_from_char(char *param_1)" * (ERROR "std::messages<wchar_t>::" identifier : : identifier < identifier > : :) (function_declarator "_M_convert_from_char(char *param_1)" identifier (parameter_list "(char *param_1)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) )))) (compound_statement "{\n  param_1[8] = '\0';\n  param_1[9] = '\0';\n  param_1[10] = '\0';\n  param_1[0xb] = '\0';\n  param_1[0xc] = '\0';\n  param_1[0xd] = '\0';\n  param_1[0xe] = '\0';\n  param_1[0xf] = '\0';\n  *(char **)param_1 = param_1 + 0x10;\n  param_1[0x10] = '\0';\n  param_1[0x11] = '\0';\n  param_1[0x12] = '\0';\n  param_1[0x13] = '\0';\n  return param_1;\n}" { (expression_statement "param_1[8] = '\0';" (assignment_expression "param_1[8] = '\0'" (subscript_expression "param_1[8]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "param_1[9] = '\0';" (assignment_expression "param_1[9] = '\0'" (subscript_expression "param_1[9]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "param_1[10] = '\0';" (assignment_expression "param_1[10] = '\0'" (subscript_expression "param_1[10]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "param_1[0xb] = '\0';" (assignment_expression "param_1[0xb] = '\0'" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "param_1[0xc] = '\0';" (assignment_expression "param_1[0xc] = '\0'" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "param_1[0xd] = '\0';" (assignment_expression "param_1[0xd] = '\0'" (subscript_expression "param_1[0xd]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "param_1[0xe] = '\0';" (assignment_expression "param_1[0xe] = '\0'" (subscript_expression "param_1[0xe]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "param_1[0xf] = '\0';" (assignment_expression "param_1[0xf] = '\0'" (subscript_expression "param_1[0xf]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "*(char **)param_1 = param_1 + 0x10;" (assignment_expression "*(char **)param_1 = param_1 + 0x10" (pointer_expression "*(char **)param_1" * (cast_expression "(char **)param_1" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = (binary_expression "param_1 + 0x10" identifier + number_literal)) ;) (expression_statement "param_1[0x10] = '\0';" (assignment_expression "param_1[0x10] = '\0'" (subscript_expression "param_1[0x10]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "param_1[0x11] = '\0';" (assignment_expression "param_1[0x11] = '\0'" (subscript_expression "param_1[0x11]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "param_1[0x12] = '\0';" (assignment_expression "param_1[0x12] = '\0'" (subscript_expression "param_1[0x12]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "param_1[0x13] = '\0';" (assignment_expression "param_1[0x13] = '\0'" (subscript_expression "param_1[0x13]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "long * FUN_002dc540(long *param_1)\n\n{\n  param_1[1] = 0;\n  *param_1 = (long)(param_1 + 2);\n  *(undefined4 *)(param_1 + 2) = 0;\n  return param_1;\n}\n\n" (function_definition "long * FUN_002dc540(long *param_1)\n\n{\n  param_1[1] = 0;\n  *param_1 = (long)(param_1 + 2);\n  *(undefined4 *)(param_1 + 2) = 0;\n  return param_1;\n}" (sized_type_specifier "long" long) (pointer_declarator "* FUN_002dc540(long *param_1)" * (function_declarator "FUN_002dc540(long *param_1)" identifier (parameter_list "(long *param_1)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) )))) (compound_statement "{\n  param_1[1] = 0;\n  *param_1 = (long)(param_1 + 2);\n  *(undefined4 *)(param_1 + 2) = 0;\n  return param_1;\n}" { (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = (long)(param_1 + 2);" (assignment_expression "*param_1 = (long)(param_1 + 2)" (pointer_expression "*param_1" * identifier) = (cast_expression "(long)(param_1 + 2)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) ;) (expression_statement "*(undefined4 *)(param_1 + 2) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 2) = 0" (pointer_expression "*(undefined4 *)(param_1 + 2)" * (cast_expression "(undefined4 *)(param_1 + 2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) = number_literal) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition (sized_type_specifier long) (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) )))) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return IDENT ;) })))
(function_definition "long * FUN_002dc540(long *param_1)\n\n{\n  param_1[1] = 0;\n  *param_1 = (long)(param_1 + 2);\n  *(undefined4 *)(param_1 + 2) = 0;\n  return param_1;\n}" (sized_type_specifier "long" (long "long")) (pointer_declarator "* FUN_002dc540(long *param_1)" (* "*") (function_declarator "FUN_002dc540(long *param_1)" (identifier "FUN_002dc540") (parameter_list "(long *param_1)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")")))) (compound_statement "{\n  param_1[1] = 0;\n  *param_1 = (long)(param_1 + 2);\n  *(undefined4 *)(param_1 + 2) = 0;\n  return param_1;\n}" ({ "{") (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_1 = (long)(param_1 + 2);" (assignment_expression "*param_1 = (long)(param_1 + 2)" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(long)(param_1 + 2)" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 2) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 2) = 0" (pointer_expression "*(undefined4 *)(param_1 + 2)" (* "*") (cast_expression "(undefined4 *)(param_1 + 2)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* std::messages<wchar_t>::_M_convert_from_char(char*) const */

char * std::messages<wchar_t>::function_1(char *var_1)

{
  var_1[8] = '\0';
  var_1[9] = '\0';
  var_1[10] = '\0';
  var_1[0xb] = '\0';
  var_1[0xc] = '\0';
  var_1[0xd] = '\0';
  var_1[0xe] = '\0';
  var_1[0xf] = '\0';
  *(char **)var_1 = var_1 + 0x10;
  var_1[0x10] = '\0';
  var_1[0x11] = '\0';
  var_1[0x12] = '\0';
  var_1[0x13] = '\0';
  return var_1;
}


(translation_unit (function_definition type: (sized_type_specifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (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))))) right: (number_literal))) (return_statement (identifier)))))

long * MASKED(long *param_1)

{
  param_1[1] = 0;
  *param_1 = (long)(param_1 + 2);
  *(undefined4 *)(param_1 + 2) = 0;
  return param_1;
}

