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

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

{
  param_1[4] = '\0';
  param_1[5] = '\0';
  param_1[6] = '\0';
  param_1[7] = '\0';
  *(char **)param_1 = param_1 + 8;
  param_1[8] = '\0';
  return;
}



void FUN_0042ad50(int *param_1)

{
  param_1[1] = 0;
  *param_1 = (int)(param_1 + 2);
  *(undefined1 *)(param_1 + 2) = 0;
  return;
}


MOV EAX,dword ptr [ESP + 0x4]
LEA EDX,[EAX + 0x8]
MOV dword ptr [EAX + 0x4],0x0
MOV dword ptr [EAX],EDX
MOV byte ptr [EAX + 0x8],0x0
RET 0x4
(translation_unit "void FUN_0042ad50(int *param_1)\n\n{\n  param_1[1] = 0;\n  *param_1 = (int)(param_1 + 2);\n  *(undefined1 *)(param_1 + 2) = 0;\n  return;\n}\n\n" (function_definition "void FUN_0042ad50(int *param_1)\n\n{\n  param_1[1] = 0;\n  *param_1 = (int)(param_1 + 2);\n  *(undefined1 *)(param_1 + 2) = 0;\n  return;\n}" primitive_type (function_declarator "FUN_0042ad50(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  param_1[1] = 0;\n  *param_1 = (int)(param_1 + 2);\n  *(undefined1 *)(param_1 + 2) = 0;\n  return;\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 = (int)(param_1 + 2);" (assignment_expression "*param_1 = (int)(param_1 + 2)" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)(param_1 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) ;) (expression_statement "*(undefined1 *)(param_1 + 2) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 2) = 0" (pointer_expression "*(undefined1 *)(param_1 + 2)" * (cast_expression "(undefined1 *)(param_1 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* std::messages<char>::_M_convert_from_char(char*) const */\n\nvoid std::messages<char>::_M_convert_from_char(char *param_1)\n\n{\n  param_1[4] = '\0';\n  param_1[5] = '\0';\n  param_1[6] = '\0';\n  param_1[7] = '\0';\n  *(char **)param_1 = param_1 + 8;\n  param_1[8] = '\0';\n  return;\n}\n\n" comment (function_definition "void std::messages<char>::_M_convert_from_char(char *param_1)\n\n{\n  param_1[4] = '\0';\n  param_1[5] = '\0';\n  param_1[6] = '\0';\n  param_1[7] = '\0';\n  *(char **)param_1 = param_1 + 8;\n  param_1[8] = '\0';\n  return;\n}" primitive_type (ERROR "std::messages<char>::" identifier : : identifier < primitive_type > : :) (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[4] = '\0';\n  param_1[5] = '\0';\n  param_1[6] = '\0';\n  param_1[7] = '\0';\n  *(char **)param_1 = param_1 + 8;\n  param_1[8] = '\0';\n  return;\n}" { (expression_statement "param_1[4] = '\0';" (assignment_expression "param_1[4] = '\0'" (subscript_expression "param_1[4]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "param_1[5] = '\0';" (assignment_expression "param_1[5] = '\0'" (subscript_expression "param_1[5]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "param_1[6] = '\0';" (assignment_expression "param_1[6] = '\0'" (subscript_expression "param_1[6]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "param_1[7] = '\0';" (assignment_expression "param_1[7] = '\0'" (subscript_expression "param_1[7]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "*(char **)param_1 = param_1 + 8;" (assignment_expression "*(char **)param_1 = param_1 + 8" (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 + 8" identifier + number_literal)) ;) (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 ')) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0042ad50(int *param_1)\n\n{\n  param_1[1] = 0;\n  *param_1 = (int)(param_1 + 2);\n  *(undefined1 *)(param_1 + 2) = 0;\n  return;\n}\n\n" (function_definition "void FUN_0042ad50(int *param_1)\n\n{\n  param_1[1] = 0;\n  *param_1 = (int)(param_1 + 2);\n  *(undefined1 *)(param_1 + 2) = 0;\n  return;\n}" primitive_type (function_declarator "FUN_0042ad50(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  param_1[1] = 0;\n  *param_1 = (int)(param_1 + 2);\n  *(undefined1 *)(param_1 + 2) = 0;\n  return;\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 = (int)(param_1 + 2);" (assignment_expression "*param_1 = (int)(param_1 + 2)" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)(param_1 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) ;) (expression_statement "*(undefined1 *)(param_1 + 2) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 2) = 0" (pointer_expression "*(undefined1 *)(param_1 + 2)" * (cast_expression "(undefined1 *)(param_1 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (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 TYPE) ) (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 ;) })))
(function_definition "void FUN_0042ad50(int *param_1)\n\n{\n  param_1[1] = 0;\n  *param_1 = (int)(param_1 + 2);\n  *(undefined1 *)(param_1 + 2) = 0;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0042ad50(int *param_1)" (identifier "FUN_0042ad50") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  param_1[1] = 0;\n  *param_1 = (int)(param_1 + 2);\n  *(undefined1 *)(param_1 + 2) = 0;\n  return;\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 = (int)(param_1 + 2);" (assignment_expression "*param_1 = (int)(param_1 + 2)" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(int)(param_1 + 2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 2) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 2) = 0" (pointer_expression "*(undefined1 *)(param_1 + 2)" (* "*") (cast_expression "(undefined1 *)(param_1 + 2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (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;" (return "return") (; ";")) (} "}")))

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

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

{
  var_1[4] = '\0';
  var_1[5] = '\0';
  var_1[6] = '\0';
  var_1[7] = '\0';
  *(char **)var_1 = var_1 + 8;
  var_1[8] = '\0';
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) 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: (primitive_type)) 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))))

void MASKED(int *param_1)

{
  param_1[1] = 0;
  *param_1 = (int)(param_1 + 2);
  *(undefined1 *)(param_1 + 2) = 0;
  return;
}

