
/* std::__detail::_List_node_base::_M_reverse() */

void __thiscall std::__detail::_List_node_base::_M_reverse(_List_node_base *this)

{
  _List_node_base *p_Var1;
  _List_node_base *p_Var2;
  _List_node_base *p_Var3;
  
  p_Var3 = this;
  do {
    p_Var1 = p_Var3->_M_next;
    p_Var2 = p_Var3->_M_prev;
    p_Var3->_M_prev = p_Var1;
    p_Var3->_M_next = p_Var2;
    p_Var3 = p_Var1;
  } while (this != p_Var1);
  return;
}



void FUN_002f4ce0(long *param_1)

{
  long *plVar1;
  long lVar2;
  long *plVar3;
  
  plVar3 = param_1;
  do {
    plVar1 = (long *)*plVar3;
    lVar2 = plVar3[1];
    plVar3[1] = (long)plVar1;
    *plVar3 = lVar2;
    plVar3 = plVar1;
  } while (param_1 != plVar1);
  return;
}


MOV RAX,RDI
NOP dword ptr [RAX + RAX*0x1]
MOV RDX,qword ptr [RAX]
MOV RCX,qword ptr [RAX + 0x8]
MOV qword ptr [RAX + 0x8],RDX
MOV qword ptr [RAX],RCX
MOV RAX,RDX
CMP RDI,RDX
JNZ 0x002f4ce8
RET
(translation_unit "void FUN_002f4ce0(long *param_1)\n\n{\n  long *plVar1;\n  long lVar2;\n  long *plVar3;\n  \n  plVar3 = param_1;\n  do {\n    plVar1 = (long *)*plVar3;\n    lVar2 = plVar3[1];\n    plVar3[1] = (long)plVar1;\n    *plVar3 = lVar2;\n    plVar3 = plVar1;\n  } while (param_1 != plVar1);\n  return;\n}\n\n" (function_definition "void FUN_002f4ce0(long *param_1)\n\n{\n  long *plVar1;\n  long lVar2;\n  long *plVar3;\n  \n  plVar3 = param_1;\n  do {\n    plVar1 = (long *)*plVar3;\n    lVar2 = plVar3[1];\n    plVar3[1] = (long)plVar1;\n    *plVar3 = lVar2;\n    plVar3 = plVar1;\n  } while (param_1 != plVar1);\n  return;\n}" primitive_type (function_declarator "FUN_002f4ce0(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  long *plVar1;\n  long lVar2;\n  long *plVar3;\n  \n  plVar3 = param_1;\n  do {\n    plVar1 = (long *)*plVar3;\n    lVar2 = plVar3[1];\n    plVar3[1] = (long)plVar1;\n    *plVar3 = lVar2;\n    plVar3 = plVar1;\n  } while (param_1 != plVar1);\n  return;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "long *plVar3;" (sized_type_specifier "long" long) (pointer_declarator "*plVar3" * identifier) ;) (expression_statement "plVar3 = param_1;" (assignment_expression "plVar3 = param_1" identifier = identifier) ;) (do_statement "do {\n    plVar1 = (long *)*plVar3;\n    lVar2 = plVar3[1];\n    plVar3[1] = (long)plVar1;\n    *plVar3 = lVar2;\n    plVar3 = plVar1;\n  } while (param_1 != plVar1);" do (compound_statement "{\n    plVar1 = (long *)*plVar3;\n    lVar2 = plVar3[1];\n    plVar3[1] = (long)plVar1;\n    *plVar3 = lVar2;\n    plVar3 = plVar1;\n  }" { (expression_statement "plVar1 = (long *)*plVar3;" (assignment_expression "plVar1 = (long *)*plVar3" identifier = (cast_expression "(long *)*plVar3" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar3" * identifier))) ;) (expression_statement "lVar2 = plVar3[1];" (assignment_expression "lVar2 = plVar3[1]" identifier = (subscript_expression "plVar3[1]" identifier [ number_literal ])) ;) (expression_statement "plVar3[1] = (long)plVar1;" (assignment_expression "plVar3[1] = (long)plVar1" (subscript_expression "plVar3[1]" identifier [ number_literal ]) = (cast_expression "(long)plVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "*plVar3 = lVar2;" (assignment_expression "*plVar3 = lVar2" (pointer_expression "*plVar3" * identifier) = identifier) ;) (expression_statement "plVar3 = plVar1;" (assignment_expression "plVar3 = plVar1" identifier = identifier) ;) }) while (parenthesized_expression "(param_1 != plVar1)" ( (binary_expression "param_1 != plVar1" identifier != identifier) )) ;) (return_statement "return;" return ;) })))
(translation_unit "/* std::__detail::_List_node_base::_M_reverse() */\n\nvoid __thiscall std::__detail::_List_node_base::_M_reverse(_List_node_base *this)\n\n{\n  _List_node_base *p_Var1;\n  _List_node_base *p_Var2;\n  _List_node_base *p_Var3;\n  \n  p_Var3 = this;\n  do {\n    p_Var1 = p_Var3->_M_next;\n    p_Var2 = p_Var3->_M_prev;\n    p_Var3->_M_prev = p_Var1;\n    p_Var3->_M_next = p_Var2;\n    p_Var3 = p_Var1;\n  } while (this != p_Var1);\n  return;\n}\n\n" comment (function_definition "void __thiscall std::__detail::_List_node_base::_M_reverse(_List_node_base *this)\n\n{\n  _List_node_base *p_Var1;\n  _List_node_base *p_Var2;\n  _List_node_base *p_Var3;\n  \n  p_Var3 = this;\n  do {\n    p_Var1 = p_Var3->_M_next;\n    p_Var2 = p_Var3->_M_prev;\n    p_Var3->_M_prev = p_Var1;\n    p_Var3->_M_next = p_Var2;\n    p_Var3 = p_Var1;\n  } while (this != p_Var1);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::__detail::_List_node_base::" identifier : : identifier : : identifier : :) (function_declarator "_M_reverse(_List_node_base *this)" identifier (parameter_list "(_List_node_base *this)" ( (parameter_declaration "_List_node_base *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  _List_node_base *p_Var1;\n  _List_node_base *p_Var2;\n  _List_node_base *p_Var3;\n  \n  p_Var3 = this;\n  do {\n    p_Var1 = p_Var3->_M_next;\n    p_Var2 = p_Var3->_M_prev;\n    p_Var3->_M_prev = p_Var1;\n    p_Var3->_M_next = p_Var2;\n    p_Var3 = p_Var1;\n  } while (this != p_Var1);\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) ;) (declaration "_List_node_base *p_Var3;" type_identifier (pointer_declarator "*p_Var3" * identifier) ;) (expression_statement "p_Var3 = this;" (assignment_expression "p_Var3 = this" identifier = identifier) ;) (do_statement "do {\n    p_Var1 = p_Var3->_M_next;\n    p_Var2 = p_Var3->_M_prev;\n    p_Var3->_M_prev = p_Var1;\n    p_Var3->_M_next = p_Var2;\n    p_Var3 = p_Var1;\n  } while (this != p_Var1);" do (compound_statement "{\n    p_Var1 = p_Var3->_M_next;\n    p_Var2 = p_Var3->_M_prev;\n    p_Var3->_M_prev = p_Var1;\n    p_Var3->_M_next = p_Var2;\n    p_Var3 = p_Var1;\n  }" { (expression_statement "p_Var1 = p_Var3->_M_next;" (assignment_expression "p_Var1 = p_Var3->_M_next" identifier = (field_expression "p_Var3->_M_next" identifier -> field_identifier)) ;) (expression_statement "p_Var2 = p_Var3->_M_prev;" (assignment_expression "p_Var2 = p_Var3->_M_prev" identifier = (field_expression "p_Var3->_M_prev" identifier -> field_identifier)) ;) (expression_statement "p_Var3->_M_prev = p_Var1;" (assignment_expression "p_Var3->_M_prev = p_Var1" (field_expression "p_Var3->_M_prev" identifier -> field_identifier) = identifier) ;) (expression_statement "p_Var3->_M_next = p_Var2;" (assignment_expression "p_Var3->_M_next = p_Var2" (field_expression "p_Var3->_M_next" identifier -> field_identifier) = identifier) ;) (expression_statement "p_Var3 = p_Var1;" (assignment_expression "p_Var3 = p_Var1" identifier = identifier) ;) }) while (parenthesized_expression "(this != p_Var1)" ( (binary_expression "this != p_Var1" identifier != identifier) )) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_002f4ce0(long *param_1)\n\n{\n  long *plVar1;\n  long lVar2;\n  long *plVar3;\n  \n  plVar3 = param_1;\n  do {\n    plVar1 = (long *)*plVar3;\n    lVar2 = plVar3[1];\n    plVar3[1] = (long)plVar1;\n    *plVar3 = lVar2;\n    plVar3 = plVar1;\n  } while (param_1 != plVar1);\n  return;\n}\n\n" (function_definition "void FUN_002f4ce0(long *param_1)\n\n{\n  long *plVar1;\n  long lVar2;\n  long *plVar3;\n  \n  plVar3 = param_1;\n  do {\n    plVar1 = (long *)*plVar3;\n    lVar2 = plVar3[1];\n    plVar3[1] = (long)plVar1;\n    *plVar3 = lVar2;\n    plVar3 = plVar1;\n  } while (param_1 != plVar1);\n  return;\n}" primitive_type (function_declarator "FUN_002f4ce0(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  long *plVar1;\n  long lVar2;\n  long *plVar3;\n  \n  plVar3 = param_1;\n  do {\n    plVar1 = (long *)*plVar3;\n    lVar2 = plVar3[1];\n    plVar3[1] = (long)plVar1;\n    *plVar3 = lVar2;\n    plVar3 = plVar1;\n  } while (param_1 != plVar1);\n  return;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "long *plVar3;" (sized_type_specifier "long" long) (pointer_declarator "*plVar3" * identifier) ;) (expression_statement "plVar3 = param_1;" (assignment_expression "plVar3 = param_1" identifier = identifier) ;) (do_statement "do {\n    plVar1 = (long *)*plVar3;\n    lVar2 = plVar3[1];\n    plVar3[1] = (long)plVar1;\n    *plVar3 = lVar2;\n    plVar3 = plVar1;\n  } while (param_1 != plVar1);" do (compound_statement "{\n    plVar1 = (long *)*plVar3;\n    lVar2 = plVar3[1];\n    plVar3[1] = (long)plVar1;\n    *plVar3 = lVar2;\n    plVar3 = plVar1;\n  }" { (expression_statement "plVar1 = (long *)*plVar3;" (assignment_expression "plVar1 = (long *)*plVar3" identifier = (cast_expression "(long *)*plVar3" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar3" * identifier))) ;) (expression_statement "lVar2 = plVar3[1];" (assignment_expression "lVar2 = plVar3[1]" identifier = (subscript_expression "plVar3[1]" identifier [ number_literal ])) ;) (expression_statement "plVar3[1] = (long)plVar1;" (assignment_expression "plVar3[1] = (long)plVar1" (subscript_expression "plVar3[1]" identifier [ number_literal ]) = (cast_expression "(long)plVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "*plVar3 = lVar2;" (assignment_expression "*plVar3 = lVar2" (pointer_expression "*plVar3" * identifier) = identifier) ;) (expression_statement "plVar3 = plVar1;" (assignment_expression "plVar3 = plVar1" identifier = identifier) ;) }) while (parenthesized_expression "(param_1 != plVar1)" ( (binary_expression "param_1 != plVar1" identifier != identifier) )) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) ))) (compound_statement { (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (return_statement return ;) })))
(function_definition "void FUN_002f4ce0(long *param_1)\n\n{\n  long *plVar1;\n  long lVar2;\n  long *plVar3;\n  \n  plVar3 = param_1;\n  do {\n    plVar1 = (long *)*plVar3;\n    lVar2 = plVar3[1];\n    plVar3[1] = (long)plVar1;\n    *plVar3 = lVar2;\n    plVar3 = plVar1;\n  } while (param_1 != plVar1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_002f4ce0(long *param_1)" (identifier "FUN_002f4ce0") (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  long *plVar1;\n  long lVar2;\n  long *plVar3;\n  \n  plVar3 = param_1;\n  do {\n    plVar1 = (long *)*plVar3;\n    lVar2 = plVar3[1];\n    plVar3[1] = (long)plVar1;\n    *plVar3 = lVar2;\n    plVar3 = plVar1;\n  } while (param_1 != plVar1);\n  return;\n}" ({ "{") (declaration "long *plVar1;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar1" (* "*") (identifier "plVar1")) (; ";")) (declaration "long lVar2;" (sized_type_specifier "long" (long "long")) (identifier "lVar2") (; ";")) (declaration "long *plVar3;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar3" (* "*") (identifier "plVar3")) (; ";")) (expression_statement "plVar3 = param_1;" (assignment_expression "plVar3 = param_1" (identifier "plVar3") (= "=") (identifier "param_1")) (; ";")) (do_statement "do {\n    plVar1 = (long *)*plVar3;\n    lVar2 = plVar3[1];\n    plVar3[1] = (long)plVar1;\n    *plVar3 = lVar2;\n    plVar3 = plVar1;\n  } while (param_1 != plVar1);" (do "do") (compound_statement "{\n    plVar1 = (long *)*plVar3;\n    lVar2 = plVar3[1];\n    plVar3[1] = (long)plVar1;\n    *plVar3 = lVar2;\n    plVar3 = plVar1;\n  }" ({ "{") (expression_statement "plVar1 = (long *)*plVar3;" (assignment_expression "plVar1 = (long *)*plVar3" (identifier "plVar1") (= "=") (cast_expression "(long *)*plVar3" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*plVar3" (* "*") (identifier "plVar3")))) (; ";")) (expression_statement "lVar2 = plVar3[1];" (assignment_expression "lVar2 = plVar3[1]" (identifier "lVar2") (= "=") (subscript_expression "plVar3[1]" (identifier "plVar3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "plVar3[1] = (long)plVar1;" (assignment_expression "plVar3[1] = (long)plVar1" (subscript_expression "plVar3[1]" (identifier "plVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(long)plVar1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "plVar1"))) (; ";")) (expression_statement "*plVar3 = lVar2;" (assignment_expression "*plVar3 = lVar2" (pointer_expression "*plVar3" (* "*") (identifier "plVar3")) (= "=") (identifier "lVar2")) (; ";")) (expression_statement "plVar3 = plVar1;" (assignment_expression "plVar3 = plVar1" (identifier "plVar3") (= "=") (identifier "plVar1")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_1 != plVar1)" (( "(") (binary_expression "param_1 != plVar1" (identifier "param_1") (!= "!=") (identifier "plVar1")) () ")")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::__detail::_List_node_base::_M_reverse() */

void __thiscall std::__detail::type_1::function_1(type_1 *var_1)

{
  type_1 *var_2;
  type_1 *p_Var2;
  type_1 *p_Var3;
  
  p_Var3 = var_1;
  do {
    var_2 = p_Var3->_M_next;
    p_Var2 = p_Var3->_M_prev;
    p_Var3->_M_prev = var_2;
    p_Var3->_M_next = p_Var2;
    p_Var3 = var_2;
  } while (var_1 != var_2);
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) (return_statement))))

void MASKED(long *param_1)

{
  long *plVar1;
  long lVar2;
  long *plVar3;
  
  plVar3 = param_1;
  do {
    plVar1 = (long *)*plVar3;
    lVar2 = plVar3[1];
    plVar3[1] = (long)plVar1;
    *plVar3 = lVar2;
    plVar3 = plVar1;
  } while (param_1 != plVar1);
  return;
}

