
/* 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_001e9f10(int param_1,int param_2,int param_3)

{
  int *piVar1;
  int *piVar2;
  
  if (param_1 != param_3) {
    piVar1 = *(int **)(param_3 + 4);
    piVar2 = *(int **)(param_2 + 4);
    *piVar1 = param_1;
    *piVar2 = param_3;
    piVar2 = *(int **)(param_1 + 4);
    *piVar2 = param_2;
    *(int **)(param_1 + 4) = piVar1;
    *(undefined4 *)(param_3 + 4) = *(undefined4 *)(param_2 + 4);
    *(int **)(param_2 + 4) = piVar2;
  }
  return;
}


PUSH ESI
PUSH EBX
MOV EDX,dword ptr [ESP + 0xc]
MOV EAX,dword ptr [ESP + 0x14]
MOV ECX,dword ptr [ESP + 0x10]
CMP EDX,EAX
JZ 0x001e9f3d
MOV ESI,dword ptr [EAX + 0x4]
MOV EBX,dword ptr [ECX + 0x4]
MOV dword ptr [ESI],EDX
MOV dword ptr [EBX],EAX
MOV EBX,dword ptr [EDX + 0x4]
MOV dword ptr [EBX],ECX
MOV dword ptr [EDX + 0x4],ESI
MOV EDX,dword ptr [ECX + 0x4]
MOV dword ptr [EAX + 0x4],EDX
MOV dword ptr [ECX + 0x4],EBX
POP EBX
POP ESI
RET
(translation_unit "void FUN_001e9f10(int param_1,int param_2,int param_3)\n\n{\n  int *piVar1;\n  int *piVar2;\n  \n  if (param_1 != param_3) {\n    piVar1 = *(int **)(param_3 + 4);\n    piVar2 = *(int **)(param_2 + 4);\n    *piVar1 = param_1;\n    *piVar2 = param_3;\n    piVar2 = *(int **)(param_1 + 4);\n    *piVar2 = param_2;\n    *(int **)(param_1 + 4) = piVar1;\n    *(undefined4 *)(param_3 + 4) = *(undefined4 *)(param_2 + 4);\n    *(int **)(param_2 + 4) = piVar2;\n  }\n  return;\n}\n\n" (function_definition "void FUN_001e9f10(int param_1,int param_2,int param_3)\n\n{\n  int *piVar1;\n  int *piVar2;\n  \n  if (param_1 != param_3) {\n    piVar1 = *(int **)(param_3 + 4);\n    piVar2 = *(int **)(param_2 + 4);\n    *piVar1 = param_1;\n    *piVar2 = param_3;\n    piVar2 = *(int **)(param_1 + 4);\n    *piVar2 = param_2;\n    *(int **)(param_1 + 4) = piVar1;\n    *(undefined4 *)(param_3 + 4) = *(undefined4 *)(param_2 + 4);\n    *(int **)(param_2 + 4) = piVar2;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001e9f10(int param_1,int param_2,int param_3)" identifier (parameter_list "(int param_1,int param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  \n  if (param_1 != param_3) {\n    piVar1 = *(int **)(param_3 + 4);\n    piVar2 = *(int **)(param_2 + 4);\n    *piVar1 = param_1;\n    *piVar2 = param_3;\n    piVar2 = *(int **)(param_1 + 4);\n    *piVar2 = param_2;\n    *(int **)(param_1 + 4) = piVar1;\n    *(undefined4 *)(param_3 + 4) = *(undefined4 *)(param_2 + 4);\n    *(int **)(param_2 + 4) = piVar2;\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (if_statement "if (param_1 != param_3) {\n    piVar1 = *(int **)(param_3 + 4);\n    piVar2 = *(int **)(param_2 + 4);\n    *piVar1 = param_1;\n    *piVar2 = param_3;\n    piVar2 = *(int **)(param_1 + 4);\n    *piVar2 = param_2;\n    *(int **)(param_1 + 4) = piVar1;\n    *(undefined4 *)(param_3 + 4) = *(undefined4 *)(param_2 + 4);\n    *(int **)(param_2 + 4) = piVar2;\n  }" if (parenthesized_expression "(param_1 != param_3)" ( (binary_expression "param_1 != param_3" identifier != identifier) )) (compound_statement "{\n    piVar1 = *(int **)(param_3 + 4);\n    piVar2 = *(int **)(param_2 + 4);\n    *piVar1 = param_1;\n    *piVar2 = param_3;\n    piVar2 = *(int **)(param_1 + 4);\n    *piVar2 = param_2;\n    *(int **)(param_1 + 4) = piVar1;\n    *(undefined4 *)(param_3 + 4) = *(undefined4 *)(param_2 + 4);\n    *(int **)(param_2 + 4) = piVar2;\n  }" { (expression_statement "piVar1 = *(int **)(param_3 + 4);" (assignment_expression "piVar1 = *(int **)(param_3 + 4)" identifier = (pointer_expression "*(int **)(param_3 + 4)" * (cast_expression "(int **)(param_3 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) ))))) ;) (expression_statement "piVar2 = *(int **)(param_2 + 4);" (assignment_expression "piVar2 = *(int **)(param_2 + 4)" identifier = (pointer_expression "*(int **)(param_2 + 4)" * (cast_expression "(int **)(param_2 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (expression_statement "*piVar1 = param_1;" (assignment_expression "*piVar1 = param_1" (pointer_expression "*piVar1" * identifier) = identifier) ;) (expression_statement "*piVar2 = param_3;" (assignment_expression "*piVar2 = param_3" (pointer_expression "*piVar2" * identifier) = identifier) ;) (expression_statement "piVar2 = *(int **)(param_1 + 4);" (assignment_expression "piVar2 = *(int **)(param_1 + 4)" identifier = (pointer_expression "*(int **)(param_1 + 4)" * (cast_expression "(int **)(param_1 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "*piVar2 = param_2;" (assignment_expression "*piVar2 = param_2" (pointer_expression "*piVar2" * identifier) = identifier) ;) (expression_statement "*(int **)(param_1 + 4) = piVar1;" (assignment_expression "*(int **)(param_1 + 4) = piVar1" (pointer_expression "*(int **)(param_1 + 4)" * (cast_expression "(int **)(param_1 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_3 + 4) = *(undefined4 *)(param_2 + 4);" (assignment_expression "*(undefined4 *)(param_3 + 4) = *(undefined4 *)(param_2 + 4)" (pointer_expression "*(undefined4 *)(param_3 + 4)" * (cast_expression "(undefined4 *)(param_3 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(param_2 + 4)" * (cast_expression "(undefined4 *)(param_2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (expression_statement "*(int **)(param_2 + 4) = piVar2;" (assignment_expression "*(int **)(param_2 + 4) = piVar2" (pointer_expression "*(int **)(param_2 + 4)" * (cast_expression "(int **)(param_2 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" 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_001e9f10(int param_1,int param_2,int param_3)\n\n{\n  int *piVar1;\n  int *piVar2;\n  \n  if (param_1 != param_3) {\n    piVar1 = *(int **)(param_3 + 4);\n    piVar2 = *(int **)(param_2 + 4);\n    *piVar1 = param_1;\n    *piVar2 = param_3;\n    piVar2 = *(int **)(param_1 + 4);\n    *piVar2 = param_2;\n    *(int **)(param_1 + 4) = piVar1;\n    *(undefined4 *)(param_3 + 4) = *(undefined4 *)(param_2 + 4);\n    *(int **)(param_2 + 4) = piVar2;\n  }\n  return;\n}\n\n" (function_definition "void FUN_001e9f10(int param_1,int param_2,int param_3)\n\n{\n  int *piVar1;\n  int *piVar2;\n  \n  if (param_1 != param_3) {\n    piVar1 = *(int **)(param_3 + 4);\n    piVar2 = *(int **)(param_2 + 4);\n    *piVar1 = param_1;\n    *piVar2 = param_3;\n    piVar2 = *(int **)(param_1 + 4);\n    *piVar2 = param_2;\n    *(int **)(param_1 + 4) = piVar1;\n    *(undefined4 *)(param_3 + 4) = *(undefined4 *)(param_2 + 4);\n    *(int **)(param_2 + 4) = piVar2;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001e9f10(int param_1,int param_2,int param_3)" identifier (parameter_list "(int param_1,int param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  \n  if (param_1 != param_3) {\n    piVar1 = *(int **)(param_3 + 4);\n    piVar2 = *(int **)(param_2 + 4);\n    *piVar1 = param_1;\n    *piVar2 = param_3;\n    piVar2 = *(int **)(param_1 + 4);\n    *piVar2 = param_2;\n    *(int **)(param_1 + 4) = piVar1;\n    *(undefined4 *)(param_3 + 4) = *(undefined4 *)(param_2 + 4);\n    *(int **)(param_2 + 4) = piVar2;\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (if_statement "if (param_1 != param_3) {\n    piVar1 = *(int **)(param_3 + 4);\n    piVar2 = *(int **)(param_2 + 4);\n    *piVar1 = param_1;\n    *piVar2 = param_3;\n    piVar2 = *(int **)(param_1 + 4);\n    *piVar2 = param_2;\n    *(int **)(param_1 + 4) = piVar1;\n    *(undefined4 *)(param_3 + 4) = *(undefined4 *)(param_2 + 4);\n    *(int **)(param_2 + 4) = piVar2;\n  }" if (parenthesized_expression "(param_1 != param_3)" ( (binary_expression "param_1 != param_3" identifier != identifier) )) (compound_statement "{\n    piVar1 = *(int **)(param_3 + 4);\n    piVar2 = *(int **)(param_2 + 4);\n    *piVar1 = param_1;\n    *piVar2 = param_3;\n    piVar2 = *(int **)(param_1 + 4);\n    *piVar2 = param_2;\n    *(int **)(param_1 + 4) = piVar1;\n    *(undefined4 *)(param_3 + 4) = *(undefined4 *)(param_2 + 4);\n    *(int **)(param_2 + 4) = piVar2;\n  }" { (expression_statement "piVar1 = *(int **)(param_3 + 4);" (assignment_expression "piVar1 = *(int **)(param_3 + 4)" identifier = (pointer_expression "*(int **)(param_3 + 4)" * (cast_expression "(int **)(param_3 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) ))))) ;) (expression_statement "piVar2 = *(int **)(param_2 + 4);" (assignment_expression "piVar2 = *(int **)(param_2 + 4)" identifier = (pointer_expression "*(int **)(param_2 + 4)" * (cast_expression "(int **)(param_2 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (expression_statement "*piVar1 = param_1;" (assignment_expression "*piVar1 = param_1" (pointer_expression "*piVar1" * identifier) = identifier) ;) (expression_statement "*piVar2 = param_3;" (assignment_expression "*piVar2 = param_3" (pointer_expression "*piVar2" * identifier) = identifier) ;) (expression_statement "piVar2 = *(int **)(param_1 + 4);" (assignment_expression "piVar2 = *(int **)(param_1 + 4)" identifier = (pointer_expression "*(int **)(param_1 + 4)" * (cast_expression "(int **)(param_1 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "*piVar2 = param_2;" (assignment_expression "*piVar2 = param_2" (pointer_expression "*piVar2" * identifier) = identifier) ;) (expression_statement "*(int **)(param_1 + 4) = piVar1;" (assignment_expression "*(int **)(param_1 + 4) = piVar1" (pointer_expression "*(int **)(param_1 + 4)" * (cast_expression "(int **)(param_1 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_3 + 4) = *(undefined4 *)(param_2 + 4);" (assignment_expression "*(undefined4 *)(param_3 + 4) = *(undefined4 *)(param_2 + 4)" (pointer_expression "*(undefined4 *)(param_3 + 4)" * (cast_expression "(undefined4 *)(param_3 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(param_2 + 4)" * (cast_expression "(undefined4 *)(param_2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (expression_statement "*(int **)(param_2 + 4) = piVar2;" (assignment_expression "*(int **)(param_2 + 4) = piVar2" (pointer_expression "*(int **)(param_2 + 4)" * (cast_expression "(int **)(param_2 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) = 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) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (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 TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (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 TYPE (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 TYPE (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 TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (return_statement return ;) })))
(function_definition "void FUN_001e9f10(int param_1,int param_2,int param_3)\n\n{\n  int *piVar1;\n  int *piVar2;\n  \n  if (param_1 != param_3) {\n    piVar1 = *(int **)(param_3 + 4);\n    piVar2 = *(int **)(param_2 + 4);\n    *piVar1 = param_1;\n    *piVar2 = param_3;\n    piVar2 = *(int **)(param_1 + 4);\n    *piVar2 = param_2;\n    *(int **)(param_1 + 4) = piVar1;\n    *(undefined4 *)(param_3 + 4) = *(undefined4 *)(param_2 + 4);\n    *(int **)(param_2 + 4) = piVar2;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001e9f10(int param_1,int param_2,int param_3)" (identifier "FUN_001e9f10") (parameter_list "(int param_1,int param_2,int param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  \n  if (param_1 != param_3) {\n    piVar1 = *(int **)(param_3 + 4);\n    piVar2 = *(int **)(param_2 + 4);\n    *piVar1 = param_1;\n    *piVar2 = param_3;\n    piVar2 = *(int **)(param_1 + 4);\n    *piVar2 = param_2;\n    *(int **)(param_1 + 4) = piVar1;\n    *(undefined4 *)(param_3 + 4) = *(undefined4 *)(param_2 + 4);\n    *(int **)(param_2 + 4) = piVar2;\n  }\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (if_statement "if (param_1 != param_3) {\n    piVar1 = *(int **)(param_3 + 4);\n    piVar2 = *(int **)(param_2 + 4);\n    *piVar1 = param_1;\n    *piVar2 = param_3;\n    piVar2 = *(int **)(param_1 + 4);\n    *piVar2 = param_2;\n    *(int **)(param_1 + 4) = piVar1;\n    *(undefined4 *)(param_3 + 4) = *(undefined4 *)(param_2 + 4);\n    *(int **)(param_2 + 4) = piVar2;\n  }" (if "if") (parenthesized_expression "(param_1 != param_3)" (( "(") (binary_expression "param_1 != param_3" (identifier "param_1") (!= "!=") (identifier "param_3")) () ")")) (compound_statement "{\n    piVar1 = *(int **)(param_3 + 4);\n    piVar2 = *(int **)(param_2 + 4);\n    *piVar1 = param_1;\n    *piVar2 = param_3;\n    piVar2 = *(int **)(param_1 + 4);\n    *piVar2 = param_2;\n    *(int **)(param_1 + 4) = piVar1;\n    *(undefined4 *)(param_3 + 4) = *(undefined4 *)(param_2 + 4);\n    *(int **)(param_2 + 4) = piVar2;\n  }" ({ "{") (expression_statement "piVar1 = *(int **)(param_3 + 4);" (assignment_expression "piVar1 = *(int **)(param_3 + 4)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)(param_3 + 4)" (* "*") (cast_expression "(int **)(param_3 + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_3 + 4)" (( "(") (binary_expression "param_3 + 4" (identifier "param_3") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "piVar2 = *(int **)(param_2 + 4);" (assignment_expression "piVar2 = *(int **)(param_2 + 4)" (identifier "piVar2") (= "=") (pointer_expression "*(int **)(param_2 + 4)" (* "*") (cast_expression "(int **)(param_2 + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "*piVar1 = param_1;" (assignment_expression "*piVar1 = param_1" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (identifier "param_1")) (; ";")) (expression_statement "*piVar2 = param_3;" (assignment_expression "*piVar2 = param_3" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "piVar2 = *(int **)(param_1 + 4);" (assignment_expression "piVar2 = *(int **)(param_1 + 4)" (identifier "piVar2") (= "=") (pointer_expression "*(int **)(param_1 + 4)" (* "*") (cast_expression "(int **)(param_1 + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "*piVar2 = param_2;" (assignment_expression "*piVar2 = param_2" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(int **)(param_1 + 4) = piVar1;" (assignment_expression "*(int **)(param_1 + 4) = piVar1" (pointer_expression "*(int **)(param_1 + 4)" (* "*") (cast_expression "(int **)(param_1 + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "piVar1")) (; ";")) (expression_statement "*(undefined4 *)(param_3 + 4) = *(undefined4 *)(param_2 + 4);" (assignment_expression "*(undefined4 *)(param_3 + 4) = *(undefined4 *)(param_2 + 4)" (pointer_expression "*(undefined4 *)(param_3 + 4)" (* "*") (cast_expression "(undefined4 *)(param_3 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 4)" (( "(") (binary_expression "param_3 + 4" (identifier "param_3") (+ "+") (number_literal "4")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(param_2 + 4)" (* "*") (cast_expression "(undefined4 *)(param_2 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "*(int **)(param_2 + 4) = piVar2;" (assignment_expression "*(int **)(param_2 + 4) = piVar2" (pointer_expression "*(int **)(param_2 + 4)" (* "*") (cast_expression "(int **)(param_2 + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "piVar2")) (; ";")) (} "}"))) (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: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) 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: (primitive_type) 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: (primitive_type) 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: (primitive_type) 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: (primitive_type) 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: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))))) (return_statement))))

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

{
  int *piVar1;
  int *piVar2;
  
  if (param_1 != param_3) {
    piVar1 = *(int **)(param_3 + 4);
    piVar2 = *(int **)(param_2 + 4);
    *piVar1 = param_1;
    *piVar2 = param_3;
    piVar2 = *(int **)(param_1 + 4);
    *piVar2 = param_2;
    *(int **)(param_1 + 4) = piVar1;
    *(undefined4 *)(param_3 + 4) = *(undefined4 *)(param_2 + 4);
    *(int **)(param_2 + 4) = piVar2;
  }
  return;
}

