
/* std::wstring::_S_move(wchar_t*, wchar_t const*, unsigned long) */

void std::wstring::_S_move(wchar_t *param_1,wchar_t *param_2,ulong param_3)

{
  if (param_3 == 1) {
    *param_1 = *param_2;
    return;
  }
  if (param_3 == 0) {
    return;
  }
  wmemmove(param_1,param_2,param_3);
  return;
}



void FUN_002a6570(wchar_t *param_1,wchar_t *param_2,size_t param_3)

{
  if (param_3 == 1) {
    *param_1 = *param_2;
    return;
  }
  if (param_3 == 0) {
    return;
  }
  wmemmove(param_1,param_2,param_3);
  return;
}


CMP RDX,0x1
JZ 0x002a6588
TEST RDX,RDX
JNZ 0x002a6580
RET
JMP 0x00144710
MOV EAX,dword ptr [RSI]
MOV dword ptr [RDI],EAX
RET
(translation_unit "void FUN_002a6570(wchar_t *param_1,wchar_t *param_2,size_t param_3)\n\n{\n  if (param_3 == 1) {\n    *param_1 = *param_2;\n    return;\n  }\n  if (param_3 == 0) {\n    return;\n  }\n  wmemmove(param_1,param_2,param_3);\n  return;\n}\n\n" (function_definition "void FUN_002a6570(wchar_t *param_1,wchar_t *param_2,size_t param_3)\n\n{\n  if (param_3 == 1) {\n    *param_1 = *param_2;\n    return;\n  }\n  if (param_3 == 0) {\n    return;\n  }\n  wmemmove(param_1,param_2,param_3);\n  return;\n}" primitive_type (function_declarator "FUN_002a6570(wchar_t *param_1,wchar_t *param_2,size_t param_3)" identifier (parameter_list "(wchar_t *param_1,wchar_t *param_2,size_t param_3)" ( (parameter_declaration "wchar_t *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "wchar_t *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "size_t param_3" primitive_type identifier) ))) (compound_statement "{\n  if (param_3 == 1) {\n    *param_1 = *param_2;\n    return;\n  }\n  if (param_3 == 0) {\n    return;\n  }\n  wmemmove(param_1,param_2,param_3);\n  return;\n}" { (if_statement "if (param_3 == 1) {\n    *param_1 = *param_2;\n    return;\n  }" if (parenthesized_expression "(param_3 == 1)" ( (binary_expression "param_3 == 1" identifier == number_literal) )) (compound_statement "{\n    *param_1 = *param_2;\n    return;\n  }" { (expression_statement "*param_1 = *param_2;" (assignment_expression "*param_1 = *param_2" (pointer_expression "*param_1" * identifier) = (pointer_expression "*param_2" * identifier)) ;) (return_statement "return;" return ;) })) (if_statement "if (param_3 == 0) {\n    return;\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "wmemmove(param_1,param_2,param_3);" (call_expression "wmemmove(param_1,param_2,param_3)" identifier (argument_list "(param_1,param_2,param_3)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* std::wstring::_S_move(wchar_t*, wchar_t const*, unsigned long) */\n\nvoid std::wstring::_S_move(wchar_t *param_1,wchar_t *param_2,ulong param_3)\n\n{\n  if (param_3 == 1) {\n    *param_1 = *param_2;\n    return;\n  }\n  if (param_3 == 0) {\n    return;\n  }\n  wmemmove(param_1,param_2,param_3);\n  return;\n}\n\n" comment (function_definition "void std::wstring::_S_move(wchar_t *param_1,wchar_t *param_2,ulong param_3)\n\n{\n  if (param_3 == 1) {\n    *param_1 = *param_2;\n    return;\n  }\n  if (param_3 == 0) {\n    return;\n  }\n  wmemmove(param_1,param_2,param_3);\n  return;\n}" primitive_type (ERROR "std::wstring::" identifier : : identifier : :) (function_declarator "_S_move(wchar_t *param_1,wchar_t *param_2,ulong param_3)" identifier (parameter_list "(wchar_t *param_1,wchar_t *param_2,ulong param_3)" ( (parameter_declaration "wchar_t *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "wchar_t *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "ulong param_3" type_identifier identifier) ))) (compound_statement "{\n  if (param_3 == 1) {\n    *param_1 = *param_2;\n    return;\n  }\n  if (param_3 == 0) {\n    return;\n  }\n  wmemmove(param_1,param_2,param_3);\n  return;\n}" { (if_statement "if (param_3 == 1) {\n    *param_1 = *param_2;\n    return;\n  }" if (parenthesized_expression "(param_3 == 1)" ( (binary_expression "param_3 == 1" identifier == number_literal) )) (compound_statement "{\n    *param_1 = *param_2;\n    return;\n  }" { (expression_statement "*param_1 = *param_2;" (assignment_expression "*param_1 = *param_2" (pointer_expression "*param_1" * identifier) = (pointer_expression "*param_2" * identifier)) ;) (return_statement "return;" return ;) })) (if_statement "if (param_3 == 0) {\n    return;\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "wmemmove(param_1,param_2,param_3);" (call_expression "wmemmove(param_1,param_2,param_3)" identifier (argument_list "(param_1,param_2,param_3)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_002a6570(wchar_t *param_1,wchar_t *param_2,size_t param_3)\n\n{\n  if (param_3 == 1) {\n    *param_1 = *param_2;\n    return;\n  }\n  if (param_3 == 0) {\n    return;\n  }\n  wmemmove(param_1,param_2,param_3);\n  return;\n}\n\n" (function_definition "void FUN_002a6570(wchar_t *param_1,wchar_t *param_2,size_t param_3)\n\n{\n  if (param_3 == 1) {\n    *param_1 = *param_2;\n    return;\n  }\n  if (param_3 == 0) {\n    return;\n  }\n  wmemmove(param_1,param_2,param_3);\n  return;\n}" primitive_type (function_declarator "FUN_002a6570(wchar_t *param_1,wchar_t *param_2,size_t param_3)" identifier (parameter_list "(wchar_t *param_1,wchar_t *param_2,size_t param_3)" ( (parameter_declaration "wchar_t *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "wchar_t *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "size_t param_3" primitive_type identifier) ))) (compound_statement "{\n  if (param_3 == 1) {\n    *param_1 = *param_2;\n    return;\n  }\n  if (param_3 == 0) {\n    return;\n  }\n  wmemmove(param_1,param_2,param_3);\n  return;\n}" { (if_statement "if (param_3 == 1) {\n    *param_1 = *param_2;\n    return;\n  }" if (parenthesized_expression "(param_3 == 1)" ( (binary_expression "param_3 == 1" identifier == number_literal) )) (compound_statement "{\n    *param_1 = *param_2;\n    return;\n  }" { (expression_statement "*param_1 = *param_2;" (assignment_expression "*param_1 = *param_2" (pointer_expression "*param_1" * identifier) = (pointer_expression "*param_2" * identifier)) ;) (return_statement "return;" return ;) })) (if_statement "if (param_3 == 0) {\n    return;\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "wmemmove(param_1,param_2,param_3);" (call_expression "wmemmove(param_1,param_2,param_3)" identifier (argument_list "(param_1,param_2,param_3)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_002a6570(wchar_t *param_1,wchar_t *param_2,size_t param_3)\n\n{\n  if (param_3 == 1) {\n    *param_1 = *param_2;\n    return;\n  }\n  if (param_3 == 0) {\n    return;\n  }\n  wmemmove(param_1,param_2,param_3);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_002a6570(wchar_t *param_1,wchar_t *param_2,size_t param_3)" (identifier "FUN_002a6570") (parameter_list "(wchar_t *param_1,wchar_t *param_2,size_t param_3)" (( "(") (parameter_declaration "wchar_t *param_1" (type_identifier "wchar_t") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "wchar_t *param_2" (type_identifier "wchar_t") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "size_t param_3" (primitive_type "size_t") (identifier "param_3")) () ")"))) (compound_statement "{\n  if (param_3 == 1) {\n    *param_1 = *param_2;\n    return;\n  }\n  if (param_3 == 0) {\n    return;\n  }\n  wmemmove(param_1,param_2,param_3);\n  return;\n}" ({ "{") (if_statement "if (param_3 == 1) {\n    *param_1 = *param_2;\n    return;\n  }" (if "if") (parenthesized_expression "(param_3 == 1)" (( "(") (binary_expression "param_3 == 1" (identifier "param_3") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n    *param_1 = *param_2;\n    return;\n  }" ({ "{") (expression_statement "*param_1 = *param_2;" (assignment_expression "*param_1 = *param_2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (param_3 == 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "wmemmove(param_1,param_2,param_3);" (call_expression "wmemmove(param_1,param_2,param_3)" (identifier "wmemmove") (argument_list "(param_1,param_2,param_3)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::wstring::_S_move(wchar_t*, wchar_t const*, unsigned long) */

void std::wstring::function_1(type_1 *param_1,type_1 *param_2,type_2 var_1)

{
  if (var_1 == 1) {
    *param_1 = *param_2;
    return;
  }
  if (var_1 == 0) {
    return;
  }
  var_2(param_1,param_2,var_1);
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (return_statement))))

void MASKED(wchar_t *param_1,wchar_t *param_2,size_t param_3)

{
  if (param_3 == 1) {
    *param_1 = *param_2;
    return;
  }
  if (param_3 == 0) {
    return;
  }
  wmemmove(param_1,param_2,param_3);
  return;
}

