
/* std::__detail::_List_node_base::_M_transfer(std::__detail::_List_node_base*,
   std::__detail::_List_node_base*) */

void __thiscall
std::__detail::_List_node_base::_M_transfer
          (_List_node_base *this,_List_node_base *param_1,_List_node_base *param_2)

{
  _List_node_base *p_Var1;
  _List_node_base *p_Var2;
  
  if (this != param_2) {
    p_Var1 = param_2->_M_prev;
    p_Var2 = param_1->_M_prev;
    p_Var1->_M_next = this;
    p_Var2->_M_next = param_2;
    p_Var2 = this->_M_prev;
    p_Var2->_M_next = param_1;
    this->_M_prev = p_Var1;
    param_2->_M_prev = param_1->_M_prev;
    param_1->_M_prev = p_Var2;
  }
  return;
}



void FUN_002ddab0(long param_1,long param_2,long param_3)

{
  long *plVar1;
  long *plVar2;
  
  if (param_1 != param_3) {
    plVar1 = *(long **)(param_3 + 8);
    plVar2 = *(long **)(param_2 + 8);
    *plVar1 = param_1;
    *plVar2 = param_3;
    plVar2 = *(long **)(param_1 + 8);
    *plVar2 = param_2;
    *(long **)(param_1 + 8) = plVar1;
    *(undefined8 *)(param_3 + 8) = *(undefined8 *)(param_2 + 8);
    *(long **)(param_2 + 8) = plVar2;
  }
  return;
}


CMP RDI,RDX
JZ 0x002ddada
MOV RCX,qword ptr [RDX + 0x8]
MOV RAX,qword ptr [RSI + 0x8]
MOV qword ptr [RCX],RDI
MOV qword ptr [RAX],RDX
MOV RAX,qword ptr [RDI + 0x8]
MOV qword ptr [RAX],RSI
MOV qword ptr [RDI + 0x8],RCX
MOV RCX,qword ptr [RSI + 0x8]
MOV qword ptr [RDX + 0x8],RCX
MOV qword ptr [RSI + 0x8],RAX
RET
(translation_unit "void FUN_002ddab0(long param_1,long param_2,long param_3)\n\n{\n  long *plVar1;\n  long *plVar2;\n  \n  if (param_1 != param_3) {\n    plVar1 = *(long **)(param_3 + 8);\n    plVar2 = *(long **)(param_2 + 8);\n    *plVar1 = param_1;\n    *plVar2 = param_3;\n    plVar2 = *(long **)(param_1 + 8);\n    *plVar2 = param_2;\n    *(long **)(param_1 + 8) = plVar1;\n    *(undefined8 *)(param_3 + 8) = *(undefined8 *)(param_2 + 8);\n    *(long **)(param_2 + 8) = plVar2;\n  }\n  return;\n}\n\n" (function_definition "void FUN_002ddab0(long param_1,long param_2,long param_3)\n\n{\n  long *plVar1;\n  long *plVar2;\n  \n  if (param_1 != param_3) {\n    plVar1 = *(long **)(param_3 + 8);\n    plVar2 = *(long **)(param_2 + 8);\n    *plVar1 = param_1;\n    *plVar2 = param_3;\n    plVar2 = *(long **)(param_1 + 8);\n    *plVar2 = param_2;\n    *(long **)(param_1 + 8) = plVar1;\n    *(undefined8 *)(param_3 + 8) = *(undefined8 *)(param_2 + 8);\n    *(long **)(param_2 + 8) = plVar2;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_002ddab0(long param_1,long param_2,long param_3)" identifier (parameter_list "(long param_1,long param_2,long param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_3" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  long *plVar1;\n  long *plVar2;\n  \n  if (param_1 != param_3) {\n    plVar1 = *(long **)(param_3 + 8);\n    plVar2 = *(long **)(param_2 + 8);\n    *plVar1 = param_1;\n    *plVar2 = param_3;\n    plVar2 = *(long **)(param_1 + 8);\n    *plVar2 = param_2;\n    *(long **)(param_1 + 8) = plVar1;\n    *(undefined8 *)(param_3 + 8) = *(undefined8 *)(param_2 + 8);\n    *(long **)(param_2 + 8) = plVar2;\n  }\n  return;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (if_statement "if (param_1 != param_3) {\n    plVar1 = *(long **)(param_3 + 8);\n    plVar2 = *(long **)(param_2 + 8);\n    *plVar1 = param_1;\n    *plVar2 = param_3;\n    plVar2 = *(long **)(param_1 + 8);\n    *plVar2 = param_2;\n    *(long **)(param_1 + 8) = plVar1;\n    *(undefined8 *)(param_3 + 8) = *(undefined8 *)(param_2 + 8);\n    *(long **)(param_2 + 8) = plVar2;\n  }" if (parenthesized_expression "(param_1 != param_3)" ( (binary_expression "param_1 != param_3" identifier != identifier) )) (compound_statement "{\n    plVar1 = *(long **)(param_3 + 8);\n    plVar2 = *(long **)(param_2 + 8);\n    *plVar1 = param_1;\n    *plVar2 = param_3;\n    plVar2 = *(long **)(param_1 + 8);\n    *plVar2 = param_2;\n    *(long **)(param_1 + 8) = plVar1;\n    *(undefined8 *)(param_3 + 8) = *(undefined8 *)(param_2 + 8);\n    *(long **)(param_2 + 8) = plVar2;\n  }" { (expression_statement "plVar1 = *(long **)(param_3 + 8);" (assignment_expression "plVar1 = *(long **)(param_3 + 8)" identifier = (pointer_expression "*(long **)(param_3 + 8)" * (cast_expression "(long **)(param_3 + 8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) ))))) ;) (expression_statement "plVar2 = *(long **)(param_2 + 8);" (assignment_expression "plVar2 = *(long **)(param_2 + 8)" identifier = (pointer_expression "*(long **)(param_2 + 8)" * (cast_expression "(long **)(param_2 + 8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (expression_statement "*plVar1 = param_1;" (assignment_expression "*plVar1 = param_1" (pointer_expression "*plVar1" * identifier) = identifier) ;) (expression_statement "*plVar2 = param_3;" (assignment_expression "*plVar2 = param_3" (pointer_expression "*plVar2" * identifier) = identifier) ;) (expression_statement "plVar2 = *(long **)(param_1 + 8);" (assignment_expression "plVar2 = *(long **)(param_1 + 8)" identifier = (pointer_expression "*(long **)(param_1 + 8)" * (cast_expression "(long **)(param_1 + 8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "*plVar2 = param_2;" (assignment_expression "*plVar2 = param_2" (pointer_expression "*plVar2" * identifier) = identifier) ;) (expression_statement "*(long **)(param_1 + 8) = plVar1;" (assignment_expression "*(long **)(param_1 + 8) = plVar1" (pointer_expression "*(long **)(param_1 + 8)" * (cast_expression "(long **)(param_1 + 8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(param_3 + 8) = *(undefined8 *)(param_2 + 8);" (assignment_expression "*(undefined8 *)(param_3 + 8) = *(undefined8 *)(param_2 + 8)" (pointer_expression "*(undefined8 *)(param_3 + 8)" * (cast_expression "(undefined8 *)(param_3 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) = (pointer_expression "*(undefined8 *)(param_2 + 8)" * (cast_expression "(undefined8 *)(param_2 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(long **)(param_2 + 8) = plVar2;" (assignment_expression "*(long **)(param_2 + 8) = plVar2" (pointer_expression "*(long **)(param_2 + 8)" * (cast_expression "(long **)(param_2 + 8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) = identifier) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* std::__detail::_List_node_base::_M_transfer(std::__detail::_List_node_base*,\n   std::__detail::_List_node_base*) */\n\nvoid __thiscall\nstd::__detail::_List_node_base::_M_transfer\n          (_List_node_base *this,_List_node_base *param_1,_List_node_base *param_2)\n\n{\n  _List_node_base *p_Var1;\n  _List_node_base *p_Var2;\n  \n  if (this != param_2) {\n    p_Var1 = param_2->_M_prev;\n    p_Var2 = param_1->_M_prev;\n    p_Var1->_M_next = this;\n    p_Var2->_M_next = param_2;\n    p_Var2 = this->_M_prev;\n    p_Var2->_M_next = param_1;\n    this->_M_prev = p_Var1;\n    param_2->_M_prev = param_1->_M_prev;\n    param_1->_M_prev = p_Var2;\n  }\n  return;\n}\n\n" comment (function_definition "void __thiscall\nstd::__detail::_List_node_base::_M_transfer\n          (_List_node_base *this,_List_node_base *param_1,_List_node_base *param_2)\n\n{\n  _List_node_base *p_Var1;\n  _List_node_base *p_Var2;\n  \n  if (this != param_2) {\n    p_Var1 = param_2->_M_prev;\n    p_Var2 = param_1->_M_prev;\n    p_Var1->_M_next = this;\n    p_Var2->_M_next = param_2;\n    p_Var2 = this->_M_prev;\n    p_Var2->_M_next = param_1;\n    this->_M_prev = p_Var1;\n    param_2->_M_prev = param_1->_M_prev;\n    param_1->_M_prev = p_Var2;\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::__detail::_List_node_base::" identifier : : identifier : : identifier : :) (function_declarator "_M_transfer\n          (_List_node_base *this,_List_node_base *param_1,_List_node_base *param_2)" identifier (parameter_list "(_List_node_base *this,_List_node_base *param_1,_List_node_base *param_2)" ( (parameter_declaration "_List_node_base *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "_List_node_base *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "_List_node_base *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  _List_node_base *p_Var1;\n  _List_node_base *p_Var2;\n  \n  if (this != param_2) {\n    p_Var1 = param_2->_M_prev;\n    p_Var2 = param_1->_M_prev;\n    p_Var1->_M_next = this;\n    p_Var2->_M_next = param_2;\n    p_Var2 = this->_M_prev;\n    p_Var2->_M_next = param_1;\n    this->_M_prev = p_Var1;\n    param_2->_M_prev = param_1->_M_prev;\n    param_1->_M_prev = p_Var2;\n  }\n  return;\n}" { (declaration "_List_node_base *p_Var1;" type_identifier (pointer_declarator "*p_Var1" * identifier) ;) (declaration "_List_node_base *p_Var2;" type_identifier (pointer_declarator "*p_Var2" * identifier) ;) (if_statement "if (this != param_2) {\n    p_Var1 = param_2->_M_prev;\n    p_Var2 = param_1->_M_prev;\n    p_Var1->_M_next = this;\n    p_Var2->_M_next = param_2;\n    p_Var2 = this->_M_prev;\n    p_Var2->_M_next = param_1;\n    this->_M_prev = p_Var1;\n    param_2->_M_prev = param_1->_M_prev;\n    param_1->_M_prev = p_Var2;\n  }" if (parenthesized_expression "(this != param_2)" ( (binary_expression "this != param_2" identifier != identifier) )) (compound_statement "{\n    p_Var1 = param_2->_M_prev;\n    p_Var2 = param_1->_M_prev;\n    p_Var1->_M_next = this;\n    p_Var2->_M_next = param_2;\n    p_Var2 = this->_M_prev;\n    p_Var2->_M_next = param_1;\n    this->_M_prev = p_Var1;\n    param_2->_M_prev = param_1->_M_prev;\n    param_1->_M_prev = p_Var2;\n  }" { (expression_statement "p_Var1 = param_2->_M_prev;" (assignment_expression "p_Var1 = param_2->_M_prev" identifier = (field_expression "param_2->_M_prev" identifier -> field_identifier)) ;) (expression_statement "p_Var2 = param_1->_M_prev;" (assignment_expression "p_Var2 = param_1->_M_prev" identifier = (field_expression "param_1->_M_prev" identifier -> field_identifier)) ;) (expression_statement "p_Var1->_M_next = this;" (assignment_expression "p_Var1->_M_next = this" (field_expression "p_Var1->_M_next" identifier -> field_identifier) = identifier) ;) (expression_statement "p_Var2->_M_next = param_2;" (assignment_expression "p_Var2->_M_next = param_2" (field_expression "p_Var2->_M_next" identifier -> field_identifier) = identifier) ;) (expression_statement "p_Var2 = this->_M_prev;" (assignment_expression "p_Var2 = this->_M_prev" identifier = (field_expression "this->_M_prev" identifier -> field_identifier)) ;) (expression_statement "p_Var2->_M_next = param_1;" (assignment_expression "p_Var2->_M_next = param_1" (field_expression "p_Var2->_M_next" identifier -> field_identifier) = identifier) ;) (expression_statement "this->_M_prev = p_Var1;" (assignment_expression "this->_M_prev = p_Var1" (field_expression "this->_M_prev" identifier -> field_identifier) = identifier) ;) (expression_statement "param_2->_M_prev = param_1->_M_prev;" (assignment_expression "param_2->_M_prev = param_1->_M_prev" (field_expression "param_2->_M_prev" identifier -> field_identifier) = (field_expression "param_1->_M_prev" identifier -> field_identifier)) ;) (expression_statement "param_1->_M_prev = p_Var2;" (assignment_expression "param_1->_M_prev = p_Var2" (field_expression "param_1->_M_prev" identifier -> field_identifier) = identifier) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_002ddab0(long param_1,long param_2,long param_3)\n\n{\n  long *plVar1;\n  long *plVar2;\n  \n  if (param_1 != param_3) {\n    plVar1 = *(long **)(param_3 + 8);\n    plVar2 = *(long **)(param_2 + 8);\n    *plVar1 = param_1;\n    *plVar2 = param_3;\n    plVar2 = *(long **)(param_1 + 8);\n    *plVar2 = param_2;\n    *(long **)(param_1 + 8) = plVar1;\n    *(undefined8 *)(param_3 + 8) = *(undefined8 *)(param_2 + 8);\n    *(long **)(param_2 + 8) = plVar2;\n  }\n  return;\n}\n\n" (function_definition "void FUN_002ddab0(long param_1,long param_2,long param_3)\n\n{\n  long *plVar1;\n  long *plVar2;\n  \n  if (param_1 != param_3) {\n    plVar1 = *(long **)(param_3 + 8);\n    plVar2 = *(long **)(param_2 + 8);\n    *plVar1 = param_1;\n    *plVar2 = param_3;\n    plVar2 = *(long **)(param_1 + 8);\n    *plVar2 = param_2;\n    *(long **)(param_1 + 8) = plVar1;\n    *(undefined8 *)(param_3 + 8) = *(undefined8 *)(param_2 + 8);\n    *(long **)(param_2 + 8) = plVar2;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_002ddab0(long param_1,long param_2,long param_3)" identifier (parameter_list "(long param_1,long param_2,long param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_3" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  long *plVar1;\n  long *plVar2;\n  \n  if (param_1 != param_3) {\n    plVar1 = *(long **)(param_3 + 8);\n    plVar2 = *(long **)(param_2 + 8);\n    *plVar1 = param_1;\n    *plVar2 = param_3;\n    plVar2 = *(long **)(param_1 + 8);\n    *plVar2 = param_2;\n    *(long **)(param_1 + 8) = plVar1;\n    *(undefined8 *)(param_3 + 8) = *(undefined8 *)(param_2 + 8);\n    *(long **)(param_2 + 8) = plVar2;\n  }\n  return;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (if_statement "if (param_1 != param_3) {\n    plVar1 = *(long **)(param_3 + 8);\n    plVar2 = *(long **)(param_2 + 8);\n    *plVar1 = param_1;\n    *plVar2 = param_3;\n    plVar2 = *(long **)(param_1 + 8);\n    *plVar2 = param_2;\n    *(long **)(param_1 + 8) = plVar1;\n    *(undefined8 *)(param_3 + 8) = *(undefined8 *)(param_2 + 8);\n    *(long **)(param_2 + 8) = plVar2;\n  }" if (parenthesized_expression "(param_1 != param_3)" ( (binary_expression "param_1 != param_3" identifier != identifier) )) (compound_statement "{\n    plVar1 = *(long **)(param_3 + 8);\n    plVar2 = *(long **)(param_2 + 8);\n    *plVar1 = param_1;\n    *plVar2 = param_3;\n    plVar2 = *(long **)(param_1 + 8);\n    *plVar2 = param_2;\n    *(long **)(param_1 + 8) = plVar1;\n    *(undefined8 *)(param_3 + 8) = *(undefined8 *)(param_2 + 8);\n    *(long **)(param_2 + 8) = plVar2;\n  }" { (expression_statement "plVar1 = *(long **)(param_3 + 8);" (assignment_expression "plVar1 = *(long **)(param_3 + 8)" identifier = (pointer_expression "*(long **)(param_3 + 8)" * (cast_expression "(long **)(param_3 + 8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) ))))) ;) (expression_statement "plVar2 = *(long **)(param_2 + 8);" (assignment_expression "plVar2 = *(long **)(param_2 + 8)" identifier = (pointer_expression "*(long **)(param_2 + 8)" * (cast_expression "(long **)(param_2 + 8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (expression_statement "*plVar1 = param_1;" (assignment_expression "*plVar1 = param_1" (pointer_expression "*plVar1" * identifier) = identifier) ;) (expression_statement "*plVar2 = param_3;" (assignment_expression "*plVar2 = param_3" (pointer_expression "*plVar2" * identifier) = identifier) ;) (expression_statement "plVar2 = *(long **)(param_1 + 8);" (assignment_expression "plVar2 = *(long **)(param_1 + 8)" identifier = (pointer_expression "*(long **)(param_1 + 8)" * (cast_expression "(long **)(param_1 + 8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "*plVar2 = param_2;" (assignment_expression "*plVar2 = param_2" (pointer_expression "*plVar2" * identifier) = identifier) ;) (expression_statement "*(long **)(param_1 + 8) = plVar1;" (assignment_expression "*(long **)(param_1 + 8) = plVar1" (pointer_expression "*(long **)(param_1 + 8)" * (cast_expression "(long **)(param_1 + 8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(param_3 + 8) = *(undefined8 *)(param_2 + 8);" (assignment_expression "*(undefined8 *)(param_3 + 8) = *(undefined8 *)(param_2 + 8)" (pointer_expression "*(undefined8 *)(param_3 + 8)" * (cast_expression "(undefined8 *)(param_3 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) = (pointer_expression "*(undefined8 *)(param_2 + 8)" * (cast_expression "(undefined8 *)(param_2 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(long **)(param_2 + 8) = plVar2;" (assignment_expression "*(long **)(param_2 + 8) = plVar2" (pointer_expression "*(long **)(param_2 + 8)" * (cast_expression "(long **)(param_2 + 8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) = identifier) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (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) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (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 * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (return_statement return ;) })))
(function_definition "void FUN_002ddab0(long param_1,long param_2,long param_3)\n\n{\n  long *plVar1;\n  long *plVar2;\n  \n  if (param_1 != param_3) {\n    plVar1 = *(long **)(param_3 + 8);\n    plVar2 = *(long **)(param_2 + 8);\n    *plVar1 = param_1;\n    *plVar2 = param_3;\n    plVar2 = *(long **)(param_1 + 8);\n    *plVar2 = param_2;\n    *(long **)(param_1 + 8) = plVar1;\n    *(undefined8 *)(param_3 + 8) = *(undefined8 *)(param_2 + 8);\n    *(long **)(param_2 + 8) = plVar2;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_002ddab0(long param_1,long param_2,long param_3)" (identifier "FUN_002ddab0") (parameter_list "(long param_1,long param_2,long param_3)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) (, ",") (parameter_declaration "long param_3" (sized_type_specifier "long" (long "long")) (identifier "param_3")) () ")"))) (compound_statement "{\n  long *plVar1;\n  long *plVar2;\n  \n  if (param_1 != param_3) {\n    plVar1 = *(long **)(param_3 + 8);\n    plVar2 = *(long **)(param_2 + 8);\n    *plVar1 = param_1;\n    *plVar2 = param_3;\n    plVar2 = *(long **)(param_1 + 8);\n    *plVar2 = param_2;\n    *(long **)(param_1 + 8) = plVar1;\n    *(undefined8 *)(param_3 + 8) = *(undefined8 *)(param_2 + 8);\n    *(long **)(param_2 + 8) = plVar2;\n  }\n  return;\n}" ({ "{") (declaration "long *plVar1;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar1" (* "*") (identifier "plVar1")) (; ";")) (declaration "long *plVar2;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar2" (* "*") (identifier "plVar2")) (; ";")) (if_statement "if (param_1 != param_3) {\n    plVar1 = *(long **)(param_3 + 8);\n    plVar2 = *(long **)(param_2 + 8);\n    *plVar1 = param_1;\n    *plVar2 = param_3;\n    plVar2 = *(long **)(param_1 + 8);\n    *plVar2 = param_2;\n    *(long **)(param_1 + 8) = plVar1;\n    *(undefined8 *)(param_3 + 8) = *(undefined8 *)(param_2 + 8);\n    *(long **)(param_2 + 8) = plVar2;\n  }" (if "if") (parenthesized_expression "(param_1 != param_3)" (( "(") (binary_expression "param_1 != param_3" (identifier "param_1") (!= "!=") (identifier "param_3")) () ")")) (compound_statement "{\n    plVar1 = *(long **)(param_3 + 8);\n    plVar2 = *(long **)(param_2 + 8);\n    *plVar1 = param_1;\n    *plVar2 = param_3;\n    plVar2 = *(long **)(param_1 + 8);\n    *plVar2 = param_2;\n    *(long **)(param_1 + 8) = plVar1;\n    *(undefined8 *)(param_3 + 8) = *(undefined8 *)(param_2 + 8);\n    *(long **)(param_2 + 8) = plVar2;\n  }" ({ "{") (expression_statement "plVar1 = *(long **)(param_3 + 8);" (assignment_expression "plVar1 = *(long **)(param_3 + 8)" (identifier "plVar1") (= "=") (pointer_expression "*(long **)(param_3 + 8)" (* "*") (cast_expression "(long **)(param_3 + 8)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_3 + 8)" (( "(") (binary_expression "param_3 + 8" (identifier "param_3") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "plVar2 = *(long **)(param_2 + 8);" (assignment_expression "plVar2 = *(long **)(param_2 + 8)" (identifier "plVar2") (= "=") (pointer_expression "*(long **)(param_2 + 8)" (* "*") (cast_expression "(long **)(param_2 + 8)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "*plVar1 = param_1;" (assignment_expression "*plVar1 = param_1" (pointer_expression "*plVar1" (* "*") (identifier "plVar1")) (= "=") (identifier "param_1")) (; ";")) (expression_statement "*plVar2 = param_3;" (assignment_expression "*plVar2 = param_3" (pointer_expression "*plVar2" (* "*") (identifier "plVar2")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "plVar2 = *(long **)(param_1 + 8);" (assignment_expression "plVar2 = *(long **)(param_1 + 8)" (identifier "plVar2") (= "=") (pointer_expression "*(long **)(param_1 + 8)" (* "*") (cast_expression "(long **)(param_1 + 8)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "*plVar2 = param_2;" (assignment_expression "*plVar2 = param_2" (pointer_expression "*plVar2" (* "*") (identifier "plVar2")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(long **)(param_1 + 8) = plVar1;" (assignment_expression "*(long **)(param_1 + 8) = plVar1" (pointer_expression "*(long **)(param_1 + 8)" (* "*") (cast_expression "(long **)(param_1 + 8)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "plVar1")) (; ";")) (expression_statement "*(undefined8 *)(param_3 + 8) = *(undefined8 *)(param_2 + 8);" (assignment_expression "*(undefined8 *)(param_3 + 8) = *(undefined8 *)(param_2 + 8)" (pointer_expression "*(undefined8 *)(param_3 + 8)" (* "*") (cast_expression "(undefined8 *)(param_3 + 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 8)" (( "(") (binary_expression "param_3 + 8" (identifier "param_3") (+ "+") (number_literal "8")) () ")")))) (= "=") (pointer_expression "*(undefined8 *)(param_2 + 8)" (* "*") (cast_expression "(undefined8 *)(param_2 + 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "*(long **)(param_2 + 8) = plVar2;" (assignment_expression "*(long **)(param_2 + 8) = plVar2" (pointer_expression "*(long **)(param_2 + 8)" (* "*") (cast_expression "(long **)(param_2 + 8)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "plVar2")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::__detail::_List_node_base::_M_transfer(std::__detail::_List_node_base*,
   std::__detail::_List_node_base*) */

void __thiscall
std::__detail::type_1::function_1
          (type_1 *var_1,type_1 *param_1,type_1 *var_2)

{
  type_1 *p_Var1;
  type_1 *p_Var2;
  
  if (var_1 != var_2) {
    p_Var1 = var_2->_M_prev;
    p_Var2 = param_1->_M_prev;
    p_Var1->_M_next = var_1;
    p_Var2->_M_next = var_2;
    p_Var2 = var_1->_M_prev;
    p_Var2->_M_next = param_1;
    var_1->_M_prev = p_Var1;
    var_2->_M_prev = param_1->_M_prev;
    param_1->_M_prev = p_Var2;
  }
  return;
}


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

void MASKED(long param_1,long param_2,long param_3)

{
  long *plVar1;
  long *plVar2;
  
  if (param_1 != param_3) {
    plVar1 = *(long **)(param_3 + 8);
    plVar2 = *(long **)(param_2 + 8);
    *plVar1 = param_1;
    *plVar2 = param_3;
    plVar2 = *(long **)(param_1 + 8);
    *plVar2 = param_2;
    *(long **)(param_1 + 8) = plVar1;
    *(undefined8 *)(param_3 + 8) = *(undefined8 *)(param_2 + 8);
    *(long **)(param_2 + 8) = plVar2;
  }
  return;
}

