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

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

{
  _List_node_base *p_Var1;
  
  p_Var1 = param_1->_M_prev;
  this->_M_next = param_1;
  this->_M_prev = p_Var1;
  param_1->_M_prev->_M_next = this;
  param_1->_M_prev = this;
  return;
}



void FUN_003b1240(int *param_1,int param_2)

{
  int iVar1;
  
  iVar1 = *(int *)(param_2 + 4);
  *param_1 = param_2;
  param_1[1] = iVar1;
  **(int **)(param_2 + 4) = (int)param_1;
  *(int **)(param_2 + 4) = param_1;
  return;
}


MOV EAX,dword ptr [ESP + 0x8]
MOV EDX,dword ptr [ESP + 0x4]
MOV ECX,dword ptr [EAX + 0x4]
MOV dword ptr [EDX],EAX
MOV dword ptr [EDX + 0x4],ECX
MOV ECX,dword ptr [EAX + 0x4]
MOV dword ptr [ECX],EDX
MOV dword ptr [EAX + 0x4],EDX
RET
(translation_unit "void FUN_003b1240(int *param_1,int param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_2 + 4);\n  *param_1 = param_2;\n  param_1[1] = iVar1;\n  **(int **)(param_2 + 4) = (int)param_1;\n  *(int **)(param_2 + 4) = param_1;\n  return;\n}\n\n" (function_definition "void FUN_003b1240(int *param_1,int param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_2 + 4);\n  *param_1 = param_2;\n  param_1[1] = iVar1;\n  **(int **)(param_2 + 4) = (int)param_1;\n  *(int **)(param_2 + 4) = param_1;\n  return;\n}" primitive_type (function_declarator "FUN_003b1240(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_2 + 4);\n  *param_1 = param_2;\n  param_1[1] = iVar1;\n  **(int **)(param_2 + 4) = (int)param_1;\n  *(int **)(param_2 + 4) = param_1;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = *(int *)(param_2 + 4);" (assignment_expression "iVar1 = *(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 "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = iVar1;" (assignment_expression "param_1[1] = iVar1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "**(int **)(param_2 + 4) = (int)param_1;" (assignment_expression "**(int **)(param_2 + 4) = (int)param_1" (pointer_expression "**(int **)(param_2 + 4)" * (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) ))))) = (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*(int **)(param_2 + 4) = param_1;" (assignment_expression "*(int **)(param_2 + 4) = param_1" (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_hook(std::__detail::_List_node_base*) */\n\nvoid __thiscall\nstd::__detail::_List_node_base::_M_hook(_List_node_base *this,_List_node_base *param_1)\n\n{\n  _List_node_base *p_Var1;\n  \n  p_Var1 = param_1->_M_prev;\n  this->_M_next = param_1;\n  this->_M_prev = p_Var1;\n  param_1->_M_prev->_M_next = this;\n  param_1->_M_prev = this;\n  return;\n}\n\n" comment (function_definition "void __thiscall\nstd::__detail::_List_node_base::_M_hook(_List_node_base *this,_List_node_base *param_1)\n\n{\n  _List_node_base *p_Var1;\n  \n  p_Var1 = param_1->_M_prev;\n  this->_M_next = param_1;\n  this->_M_prev = p_Var1;\n  param_1->_M_prev->_M_next = this;\n  param_1->_M_prev = this;\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::__detail::_List_node_base::" identifier : : identifier : : identifier : :) (function_declarator "_M_hook(_List_node_base *this,_List_node_base *param_1)" identifier (parameter_list "(_List_node_base *this,_List_node_base *param_1)" ( (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)) ))) (compound_statement "{\n  _List_node_base *p_Var1;\n  \n  p_Var1 = param_1->_M_prev;\n  this->_M_next = param_1;\n  this->_M_prev = p_Var1;\n  param_1->_M_prev->_M_next = this;\n  param_1->_M_prev = this;\n  return;\n}" { (declaration "_List_node_base *p_Var1;" type_identifier (pointer_declarator "*p_Var1" * identifier) ;) (expression_statement "p_Var1 = param_1->_M_prev;" (assignment_expression "p_Var1 = param_1->_M_prev" identifier = (field_expression "param_1->_M_prev" identifier -> field_identifier)) ;) (expression_statement "this->_M_next = param_1;" (assignment_expression "this->_M_next = param_1" (field_expression "this->_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_1->_M_prev->_M_next = this;" (assignment_expression "param_1->_M_prev->_M_next = this" (field_expression "param_1->_M_prev->_M_next" (field_expression "param_1->_M_prev" identifier -> field_identifier) -> field_identifier) = identifier) ;) (expression_statement "param_1->_M_prev = this;" (assignment_expression "param_1->_M_prev = this" (field_expression "param_1->_M_prev" identifier -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_003b1240(int *param_1,int param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_2 + 4);\n  *param_1 = param_2;\n  param_1[1] = iVar1;\n  **(int **)(param_2 + 4) = (int)param_1;\n  *(int **)(param_2 + 4) = param_1;\n  return;\n}\n\n" (function_definition "void FUN_003b1240(int *param_1,int param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_2 + 4);\n  *param_1 = param_2;\n  param_1[1] = iVar1;\n  **(int **)(param_2 + 4) = (int)param_1;\n  *(int **)(param_2 + 4) = param_1;\n  return;\n}" primitive_type (function_declarator "FUN_003b1240(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_2 + 4);\n  *param_1 = param_2;\n  param_1[1] = iVar1;\n  **(int **)(param_2 + 4) = (int)param_1;\n  *(int **)(param_2 + 4) = param_1;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = *(int *)(param_2 + 4);" (assignment_expression "iVar1 = *(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 "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = iVar1;" (assignment_expression "param_1[1] = iVar1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "**(int **)(param_2 + 4) = (int)param_1;" (assignment_expression "**(int **)(param_2 + 4) = (int)param_1" (pointer_expression "**(int **)(param_2 + 4)" * (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) ))))) = (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*(int **)(param_2 + 4) = param_1;" (assignment_expression "*(int **)(param_2 + 4) = param_1" (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 (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) = (cast_expression ( (type_descriptor TYPE) ) 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) ;) (return_statement return ;) })))
(function_definition "void FUN_003b1240(int *param_1,int param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_2 + 4);\n  *param_1 = param_2;\n  param_1[1] = iVar1;\n  **(int **)(param_2 + 4) = (int)param_1;\n  *(int **)(param_2 + 4) = param_1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_003b1240(int *param_1,int param_2)" (identifier "FUN_003b1240") (parameter_list "(int *param_1,int param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_2 + 4);\n  *param_1 = param_2;\n  param_1[1] = iVar1;\n  **(int **)(param_2 + 4) = (int)param_1;\n  *(int **)(param_2 + 4) = param_1;\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = *(int *)(param_2 + 4);" (assignment_expression "iVar1 = *(int *)(param_2 + 4)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_2 + 4)" (* "*") (cast_expression "(int *)(param_2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "param_1[1] = iVar1;" (assignment_expression "param_1[1] = iVar1" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar1")) (; ";")) (expression_statement "**(int **)(param_2 + 4) = (int)param_1;" (assignment_expression "**(int **)(param_2 + 4) = (int)param_1" (pointer_expression "**(int **)(param_2 + 4)" (* "*") (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")) () ")"))))) (= "=") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1"))) (; ";")) (expression_statement "*(int **)(param_2 + 4) = param_1;" (assignment_expression "*(int **)(param_2 + 4) = param_1" (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 "param_1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

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

{
  type_1 *p_Var1;
  
  p_Var1 = param_1->_M_prev;
  this->_M_next = param_1;
  this->_M_prev = p_Var1;
  param_1->_M_prev->_M_next = this;
  param_1->_M_prev = this;
  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))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) 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: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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))) (return_statement))))

void MASKED(int *param_1,int param_2)

{
  int iVar1;
  
  iVar1 = *(int *)(param_2 + 4);
  *param_1 = param_2;
  param_1[1] = iVar1;
  **(int **)(param_2 + 4) = (int)param_1;
  *(int **)(param_2 + 4) = param_1;
  return;
}

