
/* 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_001e9f40(int *param_1)

{
  int *piVar1;
  int iVar2;
  int *piVar3;
  
  piVar3 = param_1;
  do {
    piVar1 = (int *)*piVar3;
    iVar2 = piVar3[1];
    piVar3[1] = (int)piVar1;
    *piVar3 = iVar2;
    piVar3 = piVar1;
  } while (param_1 != piVar1);
  return;
}


PUSH EBX
MOV EBX,dword ptr [ESP + 0x8]
MOV EAX,EBX
LEA ESI,[ESI]
NOP
MOV EDX,dword ptr [EAX]
MOV ECX,dword ptr [EAX + 0x4]
MOV dword ptr [EAX + 0x4],EDX
MOV dword ptr [EAX],ECX
MOV EAX,EDX
CMP EBX,EDX
JNZ 0x001e9f50
POP EBX
RET
(translation_unit "void FUN_001e9f40(int *param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  int *piVar3;\n  \n  piVar3 = param_1;\n  do {\n    piVar1 = (int *)*piVar3;\n    iVar2 = piVar3[1];\n    piVar3[1] = (int)piVar1;\n    *piVar3 = iVar2;\n    piVar3 = piVar1;\n  } while (param_1 != piVar1);\n  return;\n}\n\n" (function_definition "void FUN_001e9f40(int *param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  int *piVar3;\n  \n  piVar3 = param_1;\n  do {\n    piVar1 = (int *)*piVar3;\n    iVar2 = piVar3[1];\n    piVar3[1] = (int)piVar1;\n    *piVar3 = iVar2;\n    piVar3 = piVar1;\n  } while (param_1 != piVar1);\n  return;\n}" primitive_type (function_declarator "FUN_001e9f40(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int *piVar3;\n  \n  piVar3 = param_1;\n  do {\n    piVar1 = (int *)*piVar3;\n    iVar2 = piVar3[1];\n    piVar3[1] = (int)piVar1;\n    *piVar3 = iVar2;\n    piVar3 = piVar1;\n  } while (param_1 != piVar1);\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (expression_statement "piVar3 = param_1;" (assignment_expression "piVar3 = param_1" identifier = identifier) ;) (do_statement "do {\n    piVar1 = (int *)*piVar3;\n    iVar2 = piVar3[1];\n    piVar3[1] = (int)piVar1;\n    *piVar3 = iVar2;\n    piVar3 = piVar1;\n  } while (param_1 != piVar1);" do (compound_statement "{\n    piVar1 = (int *)*piVar3;\n    iVar2 = piVar3[1];\n    piVar3[1] = (int)piVar1;\n    *piVar3 = iVar2;\n    piVar3 = piVar1;\n  }" { (expression_statement "piVar1 = (int *)*piVar3;" (assignment_expression "piVar1 = (int *)*piVar3" identifier = (cast_expression "(int *)*piVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar3" * identifier))) ;) (expression_statement "iVar2 = piVar3[1];" (assignment_expression "iVar2 = piVar3[1]" identifier = (subscript_expression "piVar3[1]" identifier [ number_literal ])) ;) (expression_statement "piVar3[1] = (int)piVar1;" (assignment_expression "piVar3[1] = (int)piVar1" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*piVar3 = iVar2;" (assignment_expression "*piVar3 = iVar2" (pointer_expression "*piVar3" * identifier) = identifier) ;) (expression_statement "piVar3 = piVar1;" (assignment_expression "piVar3 = piVar1" identifier = identifier) ;) }) while (parenthesized_expression "(param_1 != piVar1)" ( (binary_expression "param_1 != piVar1" 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_001e9f40(int *param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  int *piVar3;\n  \n  piVar3 = param_1;\n  do {\n    piVar1 = (int *)*piVar3;\n    iVar2 = piVar3[1];\n    piVar3[1] = (int)piVar1;\n    *piVar3 = iVar2;\n    piVar3 = piVar1;\n  } while (param_1 != piVar1);\n  return;\n}\n\n" (function_definition "void FUN_001e9f40(int *param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  int *piVar3;\n  \n  piVar3 = param_1;\n  do {\n    piVar1 = (int *)*piVar3;\n    iVar2 = piVar3[1];\n    piVar3[1] = (int)piVar1;\n    *piVar3 = iVar2;\n    piVar3 = piVar1;\n  } while (param_1 != piVar1);\n  return;\n}" primitive_type (function_declarator "FUN_001e9f40(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int *piVar3;\n  \n  piVar3 = param_1;\n  do {\n    piVar1 = (int *)*piVar3;\n    iVar2 = piVar3[1];\n    piVar3[1] = (int)piVar1;\n    *piVar3 = iVar2;\n    piVar3 = piVar1;\n  } while (param_1 != piVar1);\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (expression_statement "piVar3 = param_1;" (assignment_expression "piVar3 = param_1" identifier = identifier) ;) (do_statement "do {\n    piVar1 = (int *)*piVar3;\n    iVar2 = piVar3[1];\n    piVar3[1] = (int)piVar1;\n    *piVar3 = iVar2;\n    piVar3 = piVar1;\n  } while (param_1 != piVar1);" do (compound_statement "{\n    piVar1 = (int *)*piVar3;\n    iVar2 = piVar3[1];\n    piVar3[1] = (int)piVar1;\n    *piVar3 = iVar2;\n    piVar3 = piVar1;\n  }" { (expression_statement "piVar1 = (int *)*piVar3;" (assignment_expression "piVar1 = (int *)*piVar3" identifier = (cast_expression "(int *)*piVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar3" * identifier))) ;) (expression_statement "iVar2 = piVar3[1];" (assignment_expression "iVar2 = piVar3[1]" identifier = (subscript_expression "piVar3[1]" identifier [ number_literal ])) ;) (expression_statement "piVar3[1] = (int)piVar1;" (assignment_expression "piVar3[1] = (int)piVar1" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*piVar3 = iVar2;" (assignment_expression "*piVar3 = iVar2" (pointer_expression "*piVar3" * identifier) = identifier) ;) (expression_statement "piVar3 = piVar1;" (assignment_expression "piVar3 = piVar1" identifier = identifier) ;) }) while (parenthesized_expression "(param_1 != piVar1)" ( (binary_expression "param_1 != piVar1" identifier != identifier) )) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (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 TYPE) ) 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_001e9f40(int *param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  int *piVar3;\n  \n  piVar3 = param_1;\n  do {\n    piVar1 = (int *)*piVar3;\n    iVar2 = piVar3[1];\n    piVar3[1] = (int)piVar1;\n    *piVar3 = iVar2;\n    piVar3 = piVar1;\n  } while (param_1 != piVar1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001e9f40(int *param_1)" (identifier "FUN_001e9f40") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int *piVar3;\n  \n  piVar3 = param_1;\n  do {\n    piVar1 = (int *)*piVar3;\n    iVar2 = piVar3[1];\n    piVar3[1] = (int)piVar1;\n    *piVar3 = iVar2;\n    piVar3 = piVar1;\n  } while (param_1 != piVar1);\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (expression_statement "piVar3 = param_1;" (assignment_expression "piVar3 = param_1" (identifier "piVar3") (= "=") (identifier "param_1")) (; ";")) (do_statement "do {\n    piVar1 = (int *)*piVar3;\n    iVar2 = piVar3[1];\n    piVar3[1] = (int)piVar1;\n    *piVar3 = iVar2;\n    piVar3 = piVar1;\n  } while (param_1 != piVar1);" (do "do") (compound_statement "{\n    piVar1 = (int *)*piVar3;\n    iVar2 = piVar3[1];\n    piVar3[1] = (int)piVar1;\n    *piVar3 = iVar2;\n    piVar3 = piVar1;\n  }" ({ "{") (expression_statement "piVar1 = (int *)*piVar3;" (assignment_expression "piVar1 = (int *)*piVar3" (identifier "piVar1") (= "=") (cast_expression "(int *)*piVar3" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar3" (* "*") (identifier "piVar3")))) (; ";")) (expression_statement "iVar2 = piVar3[1];" (assignment_expression "iVar2 = piVar3[1]" (identifier "iVar2") (= "=") (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "piVar3[1] = (int)piVar1;" (assignment_expression "piVar3[1] = (int)piVar1" (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(int)piVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar1"))) (; ";")) (expression_statement "*piVar3 = iVar2;" (assignment_expression "*piVar3 = iVar2" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "piVar3 = piVar1;" (assignment_expression "piVar3 = piVar1" (identifier "piVar3") (= "=") (identifier "piVar1")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_1 != piVar1)" (( "(") (binary_expression "param_1 != piVar1" (identifier "param_1") (!= "!=") (identifier "piVar1")) () ")")) (; ";")) (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: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) 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: (primitive_type) 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: (primitive_type)) 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(int *param_1)

{
  int *piVar1;
  int iVar2;
  int *piVar3;
  
  piVar3 = param_1;
  do {
    piVar1 = (int *)*piVar3;
    iVar2 = piVar3[1];
    piVar3[1] = (int)piVar1;
    *piVar3 = iVar2;
    piVar3 = piVar1;
  } while (param_1 != piVar1);
  return;
}

