
/* DWARF original prototype: void
   _M_erase(_Rb_tree<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_gold::Kept_section::Comdat_section_info>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_gold::Kept_section::Comdat_section_info>_>,_std::less<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_gold::Kept_section::Comdat_section_info>_>_>
   * this, _Link_type __x) */

void __thiscall
std::
_Rb_tree<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_gold::Kept_section::Comdat_section_info>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_gold::Kept_section::Comdat_section_info>_>,_std::less<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_gold::Kept_section::Comdat_section_info>_>_>
::_M_erase(_Rb_tree<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_gold::Kept_section::Comdat_section_info>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_gold::Kept_section::Comdat_section_info>_>,_std::less<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_gold::Kept_section::Comdat_section_info>_>_>
           *this,_Link_type __x)

{
  undefined1 *puVar1;
  _Link_type p_Var2;
  
  if (__x == (_Link_type)0x0) {
    return;
  }
  do {
    _M_erase(this,(_Link_type)(__x->super__Rb_tree_node_base)._M_right);
    puVar1 = *(undefined1 **)(__x->_M_storage)._M_storage;
    p_Var2 = (_Link_type)(__x->super__Rb_tree_node_base)._M_left;
    if (puVar1 != (__x->_M_storage)._M_storage + 0x10) {
      operator_delete(puVar1);
    }
    operator_delete(__x);
    __x = p_Var2;
  } while (p_Var2 != (_Link_type)0x0);
  return;
}



void FUN_00192e30(undefined8 param_1,long param_2)

{
  long lVar1;
  
  if (param_2 == 0) {
    return;
  }
  do {
    FUN_00192e30(param_1,*(undefined8 *)(param_2 + 0x18));
    lVar1 = *(long *)(param_2 + 0x10);
    if (*(long *)(param_2 + 0x20) != param_2 + 0x30) {
      FUN_00276d20();
    }
    FUN_00276d20(param_2);
    param_2 = lVar1;
  } while (lVar1 != 0);
  return;
}


TEST RSI,RSI
JZ 0x00192e80
PUSH R12
MOV R12,RDI
PUSH RBP
PUSH RBX
MOV RBX,RSI
MOV RSI,qword ptr [RBX + 0x18]
MOV RDI,R12
CALL 0x00192e30
MOV RDI,qword ptr [RBX + 0x20]
LEA RAX,[RBX + 0x30]
MOV RBP,qword ptr [RBX + 0x10]
CMP RDI,RAX
JZ 0x00192e61
CALL 0x00276d20
MOV RDI,RBX
MOV RBX,RBP
CALL 0x00276d20
TEST RBP,RBP
JNZ 0x00192e3f
POP RBX
POP RBP
POP R12
RET
RET
(translation_unit "void FUN_00192e30(undefined8 param_1,long param_2)\n\n{\n  long lVar1;\n  \n  if (param_2 == 0) {\n    return;\n  }\n  do {\n    FUN_00192e30(param_1,*(undefined8 *)(param_2 + 0x18));\n    lVar1 = *(long *)(param_2 + 0x10);\n    if (*(long *)(param_2 + 0x20) != param_2 + 0x30) {\n      FUN_00276d20();\n    }\n    FUN_00276d20(param_2);\n    param_2 = lVar1;\n  } while (lVar1 != 0);\n  return;\n}\n\n" (function_definition "void FUN_00192e30(undefined8 param_1,long param_2)\n\n{\n  long lVar1;\n  \n  if (param_2 == 0) {\n    return;\n  }\n  do {\n    FUN_00192e30(param_1,*(undefined8 *)(param_2 + 0x18));\n    lVar1 = *(long *)(param_2 + 0x10);\n    if (*(long *)(param_2 + 0x20) != param_2 + 0x30) {\n      FUN_00276d20();\n    }\n    FUN_00276d20(param_2);\n    param_2 = lVar1;\n  } while (lVar1 != 0);\n  return;\n}" primitive_type (function_declarator "FUN_00192e30(undefined8 param_1,long param_2)" identifier (parameter_list "(undefined8 param_1,long param_2)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  long lVar1;\n  \n  if (param_2 == 0) {\n    return;\n  }\n  do {\n    FUN_00192e30(param_1,*(undefined8 *)(param_2 + 0x18));\n    lVar1 = *(long *)(param_2 + 0x10);\n    if (*(long *)(param_2 + 0x20) != param_2 + 0x30) {\n      FUN_00276d20();\n    }\n    FUN_00276d20(param_2);\n    param_2 = lVar1;\n  } while (lVar1 != 0);\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (if_statement "if (param_2 == 0) {\n    return;\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (do_statement "do {\n    FUN_00192e30(param_1,*(undefined8 *)(param_2 + 0x18));\n    lVar1 = *(long *)(param_2 + 0x10);\n    if (*(long *)(param_2 + 0x20) != param_2 + 0x30) {\n      FUN_00276d20();\n    }\n    FUN_00276d20(param_2);\n    param_2 = lVar1;\n  } while (lVar1 != 0);" do (compound_statement "{\n    FUN_00192e30(param_1,*(undefined8 *)(param_2 + 0x18));\n    lVar1 = *(long *)(param_2 + 0x10);\n    if (*(long *)(param_2 + 0x20) != param_2 + 0x30) {\n      FUN_00276d20();\n    }\n    FUN_00276d20(param_2);\n    param_2 = lVar1;\n  }" { (expression_statement "FUN_00192e30(param_1,*(undefined8 *)(param_2 + 0x18));" (call_expression "FUN_00192e30(param_1,*(undefined8 *)(param_2 + 0x18))" identifier (argument_list "(param_1,*(undefined8 *)(param_2 + 0x18))" ( identifier , (pointer_expression "*(undefined8 *)(param_2 + 0x18)" * (cast_expression "(undefined8 *)(param_2 + 0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) ))) ;) (expression_statement "lVar1 = *(long *)(param_2 + 0x10);" (assignment_expression "lVar1 = *(long *)(param_2 + 0x10)" identifier = (pointer_expression "*(long *)(param_2 + 0x10)" * (cast_expression "(long *)(param_2 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (*(long *)(param_2 + 0x20) != param_2 + 0x30) {\n      FUN_00276d20();\n    }" if (parenthesized_expression "(*(long *)(param_2 + 0x20) != param_2 + 0x30)" ( (binary_expression "*(long *)(param_2 + 0x20) != param_2 + 0x30" (pointer_expression "*(long *)(param_2 + 0x20)" * (cast_expression "(long *)(param_2 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) )))) != (binary_expression "param_2 + 0x30" identifier + number_literal)) )) (compound_statement "{\n      FUN_00276d20();\n    }" { (expression_statement "FUN_00276d20();" (call_expression "FUN_00276d20()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_00276d20(param_2);" (call_expression "FUN_00276d20(param_2)" identifier (argument_list "(param_2)" ( identifier ))) ;) (expression_statement "param_2 = lVar1;" (assignment_expression "param_2 = lVar1" identifier = identifier) ;) }) while (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) ;) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original prototype: void\n   _M_erase(_Rb_tree<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_gold::Kept_section::Comdat_section_info>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_gold::Kept_section::Comdat_section_info>_>,_std::less<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_gold::Kept_section::Comdat_section_info>_>_>\n   * this, _Link_type __x) */\n\nvoid __thiscall\nstd::\n_Rb_tree<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_gold::Kept_section::Comdat_section_info>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_gold::Kept_section::Comdat_section_info>_>,_std::less<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_gold::Kept_section::Comdat_section_info>_>_>\n::_M_erase(_Rb_tree<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_gold::Kept_section::Comdat_section_info>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_gold::Kept_section::Comdat_section_info>_>,_std::less<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_gold::Kept_section::Comdat_section_info>_>_>\n           *this,_Link_type __x)\n\n{\n  undefined1 *puVar1;\n  _Link_type p_Var2;\n  \n  if (__x == (_Link_type)0x0) {\n    return;\n  }\n  do {\n    _M_erase(this,(_Link_type)(__x->super__Rb_tree_node_base)._M_right);\n    puVar1 = *(undefined1 **)(__x->_M_storage)._M_storage;\n    p_Var2 = (_Link_type)(__x->super__Rb_tree_node_base)._M_left;\n    if (puVar1 != (__x->_M_storage)._M_storage + 0x10) {\n      operator_delete(puVar1);\n    }\n    operator_delete(__x);\n    __x = p_Var2;\n  } while (p_Var2 != (_Link_type)0x0);\n  return;\n}\n\n" comment (declaration "void __thiscall\nstd::\n_Rb_tree<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_gold::Kept_section::Comdat_section_info>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_gold::Kept_section::Comdat_section_info>_>,_std::less<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_gold::Kept_section::Comdat_section_info>_>_>\n::_M_erase(_Rb_tree<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_gold::Kept_section::Comdat_section_info>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_gold::Kept_section::Comdat_section_info>_>,_std::less<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_gold::Kept_section::Comdat_section_info>_>_>\n           *this,_Link_type __x)\n\n{\n  undefined1 *puVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::\n_Rb_tree<std::__cxx11::" identifier : : identifier < identifier : : identifier : :) identifier (ERROR "<char" < primitive_type) , (ERROR "_std::" identifier : :) identifier (ERROR "<char>" < primitive_type >) , (ERROR "_std::allocator<char>" identifier : : identifier < primitive_type >) identifier (ERROR ">" >) , (ERROR "_std::pair<const_std::__cxx11::" identifier : : identifier < identifier : : identifier : :) identifier (ERROR "<char" < primitive_type) , (ERROR "_std::" identifier : :) identifier (ERROR "<char>" < primitive_type >) , (ERROR "_std::allocator<char>" identifier : : identifier < primitive_type >) identifier (ERROR ">" >) , (ERROR "_gold::Kept_section::" identifier : : identifier : :) identifier (ERROR ">" >) , (ERROR "_std::_Select1st<std::pair<const_std::__cxx11::" identifier : : identifier < identifier : : identifier < identifier : : identifier : :) identifier (ERROR "<char" < primitive_type) , (ERROR "_std::" identifier : :) identifier (ERROR "<char>" < primitive_type >) , (ERROR "_std::allocator<char>" identifier : : identifier < primitive_type >) identifier (ERROR ">" >) , (ERROR "_gold::Kept_section::Comdat_section_info>" identifier : : identifier : : identifier >) identifier (ERROR ">" >) , (ERROR "_std::less<std::__cxx11::" identifier : : identifier < identifier : : identifier : :) identifier (ERROR "<char" < primitive_type) , (ERROR "_std::" identifier : :) identifier (ERROR "<char>" < primitive_type >) , (ERROR "_std::allocator<char>_>" identifier : : identifier < primitive_type > identifier >) identifier (ERROR ">" >) , (ERROR "_std::allocator<std::pair<const_std::__cxx11::" identifier : : identifier < identifier : : identifier < identifier : : identifier : :) identifier (ERROR "<char" < primitive_type) , (ERROR "_std::" identifier : :) identifier (ERROR "<char>" < primitive_type >) , (ERROR "_std::allocator<char>" identifier : : identifier < primitive_type >) identifier (ERROR ">" >) , (ERROR "_gold::Kept_section::Comdat_section_info>_>_>\n::_M_erase(_Rb_tree<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_gold::Kept_section::Comdat_section_info>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_gold::Kept_section::Comdat_section_info>_>,_std::less<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_gold::Kept_section::Comdat_section_info>_>_>\n           *this,_Link_type __x)\n\n{\n  undefined1" identifier : : identifier : : identifier > identifier > identifier > : : (function_declarator "_M_erase(_Rb_tree<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_gold::Kept_section::Comdat_section_info>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_gold::Kept_section::Comdat_section_info>_>,_std::less<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_gold::Kept_section::Comdat_section_info>_>_>\n           *this,_Link_type __x)" identifier (parameter_list "(_Rb_tree<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_gold::Kept_section::Comdat_section_info>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_gold::Kept_section::Comdat_section_info>_>,_std::less<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_gold::Kept_section::Comdat_section_info>_>_>\n           *this,_Link_type __x)" ( (parameter_declaration "_Rb_tree<std::__cxx11::basic_string" type_identifier (ERROR "<std::__cxx11::" < identifier : : identifier : :) identifier) (ERROR "<char" < primitive_type) , (parameter_declaration "_std::char_traits" type_identifier (ERROR "::" : :) identifier) (ERROR "<char>" < primitive_type >) , (parameter_declaration "_std::allocator<char>_" type_identifier (ERROR "::allocator<char>" : : identifier < primitive_type >) identifier) (ERROR ">" >) , (parameter_declaration "_std::pair<const_std::__cxx11::basic_string" type_identifier (ERROR "::pair<const_std::__cxx11::" : : identifier < identifier : : identifier : :) identifier) (ERROR "<char" < primitive_type) , (parameter_declaration "_std::char_traits" type_identifier (ERROR "::" : :) identifier) (ERROR "<char>" < primitive_type >) , (parameter_declaration "_std::allocator<char>_" type_identifier (ERROR "::allocator<char>" : : identifier < primitive_type >) identifier) (ERROR ">" >) , (parameter_declaration "_gold::Kept_section::Comdat_section_info" type_identifier (ERROR "::Kept_section::" : : identifier : :) identifier) (ERROR ">" >) , (parameter_declaration "_std::_Select1st<std::pair<const_std::__cxx11::basic_string" type_identifier (ERROR "::_Select1st<std::pair<const_std::__cxx11::" : : identifier < identifier : : identifier < identifier : : identifier : :) identifier) (ERROR "<char" < primitive_type) , (parameter_declaration "_std::char_traits" type_identifier (ERROR "::" : :) identifier) (ERROR "<char>" < primitive_type >) , (parameter_declaration "_std::allocator<char>_" type_identifier (ERROR "::allocator<char>" : : identifier < primitive_type >) identifier) (ERROR ">" >) , (parameter_declaration "_gold::Kept_section::Comdat_section_info>_" type_identifier (ERROR "::Kept_section::Comdat_section_info>" : : identifier : : identifier >) identifier) (ERROR ">" >) , (parameter_declaration "_std::less<std::__cxx11::basic_string" type_identifier (ERROR "::less<std::__cxx11::" : : identifier < identifier : : identifier : :) identifier) (ERROR "<char" < primitive_type) , (parameter_declaration "_std::char_traits" type_identifier (ERROR "::" : :) identifier) (ERROR "<char>" < primitive_type >) , (parameter_declaration "_std::allocator<char>_>_" type_identifier (ERROR "::allocator<char>_>" : : identifier < primitive_type > identifier >) identifier) (ERROR ">" >) , (parameter_declaration "_std::allocator<std::pair<const_std::__cxx11::basic_string" type_identifier (ERROR "::allocator<std::pair<const_std::__cxx11::" : : identifier < identifier : : identifier < identifier : : identifier : :) identifier) (ERROR "<char" < primitive_type) , (parameter_declaration "_std::char_traits" type_identifier (ERROR "::" : :) identifier) (ERROR "<char>" < primitive_type >) , (parameter_declaration "_std::allocator<char>_" type_identifier (ERROR "::allocator<char>" : : identifier < primitive_type >) identifier) (ERROR ">" >) , (parameter_declaration "_gold::Kept_section::Comdat_section_info>_>_>\n           *this" type_identifier (ERROR "::Kept_section::Comdat_section_info>_>_>" : : identifier : : identifier > identifier > identifier >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "_Link_type __x" type_identifier identifier) ))) { identifier) (pointer_declarator "*puVar1" * identifier) ;) (declaration "_Link_type p_Var2;" type_identifier identifier ;) (if_statement "if (__x == (_Link_type)0x0) {\n    return;\n  }" if (parenthesized_expression "(__x == (_Link_type)0x0)" ( (binary_expression "__x == (_Link_type)0x0" identifier == (cast_expression "(_Link_type)0x0" ( (type_descriptor "_Link_type" type_identifier) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (do_statement "do {\n    _M_erase(this,(_Link_type)(__x->super__Rb_tree_node_base)._M_right);\n    puVar1 = *(undefined1 **)(__x->_M_storage)._M_storage;\n    p_Var2 = (_Link_type)(__x->super__Rb_tree_node_base)._M_left;\n    if (puVar1 != (__x->_M_storage)._M_storage + 0x10) {\n      operator_delete(puVar1);\n    }\n    operator_delete(__x);\n    __x = p_Var2;\n  } while (p_Var2 != (_Link_type)0x0);" do (compound_statement "{\n    _M_erase(this,(_Link_type)(__x->super__Rb_tree_node_base)._M_right);\n    puVar1 = *(undefined1 **)(__x->_M_storage)._M_storage;\n    p_Var2 = (_Link_type)(__x->super__Rb_tree_node_base)._M_left;\n    if (puVar1 != (__x->_M_storage)._M_storage + 0x10) {\n      operator_delete(puVar1);\n    }\n    operator_delete(__x);\n    __x = p_Var2;\n  }" { (expression_statement "_M_erase(this,(_Link_type)(__x->super__Rb_tree_node_base)._M_right);" (call_expression "_M_erase(this,(_Link_type)(__x->super__Rb_tree_node_base)._M_right)" identifier (argument_list "(this,(_Link_type)(__x->super__Rb_tree_node_base)._M_right)" ( identifier , (field_expression "(_Link_type)(__x->super__Rb_tree_node_base)._M_right" (call_expression "(_Link_type)(__x->super__Rb_tree_node_base)" (parenthesized_expression "(_Link_type)" ( identifier )) (argument_list "(__x->super__Rb_tree_node_base)" ( (field_expression "__x->super__Rb_tree_node_base" identifier -> field_identifier) ))) . field_identifier) ))) ;) (expression_statement "puVar1 = *(undefined1 **)(__x->_M_storage)._M_storage;" (assignment_expression "puVar1 = *(undefined1 **)(__x->_M_storage)._M_storage" identifier = (pointer_expression "*(undefined1 **)(__x->_M_storage)._M_storage" * (cast_expression "(undefined1 **)(__x->_M_storage)._M_storage" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (field_expression "(__x->_M_storage)._M_storage" (parenthesized_expression "(__x->_M_storage)" ( (field_expression "__x->_M_storage" identifier -> field_identifier) )) . field_identifier)))) ;) (expression_statement "p_Var2 = (_Link_type)(__x->super__Rb_tree_node_base)._M_left;" (assignment_expression "p_Var2 = (_Link_type)(__x->super__Rb_tree_node_base)._M_left" identifier = (field_expression "(_Link_type)(__x->super__Rb_tree_node_base)._M_left" (call_expression "(_Link_type)(__x->super__Rb_tree_node_base)" (parenthesized_expression "(_Link_type)" ( identifier )) (argument_list "(__x->super__Rb_tree_node_base)" ( (field_expression "__x->super__Rb_tree_node_base" identifier -> field_identifier) ))) . field_identifier)) ;) (if_statement "if (puVar1 != (__x->_M_storage)._M_storage + 0x10) {\n      operator_delete(puVar1);\n    }" if (parenthesized_expression "(puVar1 != (__x->_M_storage)._M_storage + 0x10)" ( (binary_expression "puVar1 != (__x->_M_storage)._M_storage + 0x10" identifier != (binary_expression "(__x->_M_storage)._M_storage + 0x10" (field_expression "(__x->_M_storage)._M_storage" (parenthesized_expression "(__x->_M_storage)" ( (field_expression "__x->_M_storage" identifier -> field_identifier) )) . field_identifier) + number_literal)) )) (compound_statement "{\n      operator_delete(puVar1);\n    }" { (expression_statement "operator_delete(puVar1);" (call_expression "operator_delete(puVar1)" identifier (argument_list "(puVar1)" ( identifier ))) ;) })) (expression_statement "operator_delete(__x);" (call_expression "operator_delete(__x)" identifier (argument_list "(__x)" ( identifier ))) ;) (expression_statement "__x = p_Var2;" (assignment_expression "__x = p_Var2" identifier = identifier) ;) }) while (parenthesized_expression "(p_Var2 != (_Link_type)0x0)" ( (binary_expression "p_Var2 != (_Link_type)0x0" identifier != (cast_expression "(_Link_type)0x0" ( (type_descriptor "_Link_type" type_identifier) ) number_literal)) )) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_00192e30(undefined8 param_1,long param_2)\n\n{\n  long lVar1;\n  \n  if (param_2 == 0) {\n    return;\n  }\n  do {\n    FUN_00192e30(param_1,*(undefined8 *)(param_2 + 0x18));\n    lVar1 = *(long *)(param_2 + 0x10);\n    if (*(long *)(param_2 + 0x20) != param_2 + 0x30) {\n      FUN_00276d20();\n    }\n    FUN_00276d20(param_2);\n    param_2 = lVar1;\n  } while (lVar1 != 0);\n  return;\n}\n\n" (function_definition "void FUN_00192e30(undefined8 param_1,long param_2)\n\n{\n  long lVar1;\n  \n  if (param_2 == 0) {\n    return;\n  }\n  do {\n    FUN_00192e30(param_1,*(undefined8 *)(param_2 + 0x18));\n    lVar1 = *(long *)(param_2 + 0x10);\n    if (*(long *)(param_2 + 0x20) != param_2 + 0x30) {\n      FUN_00276d20();\n    }\n    FUN_00276d20(param_2);\n    param_2 = lVar1;\n  } while (lVar1 != 0);\n  return;\n}" primitive_type (function_declarator "FUN_00192e30(undefined8 param_1,long param_2)" identifier (parameter_list "(undefined8 param_1,long param_2)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  long lVar1;\n  \n  if (param_2 == 0) {\n    return;\n  }\n  do {\n    FUN_00192e30(param_1,*(undefined8 *)(param_2 + 0x18));\n    lVar1 = *(long *)(param_2 + 0x10);\n    if (*(long *)(param_2 + 0x20) != param_2 + 0x30) {\n      FUN_00276d20();\n    }\n    FUN_00276d20(param_2);\n    param_2 = lVar1;\n  } while (lVar1 != 0);\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (if_statement "if (param_2 == 0) {\n    return;\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (do_statement "do {\n    FUN_00192e30(param_1,*(undefined8 *)(param_2 + 0x18));\n    lVar1 = *(long *)(param_2 + 0x10);\n    if (*(long *)(param_2 + 0x20) != param_2 + 0x30) {\n      FUN_00276d20();\n    }\n    FUN_00276d20(param_2);\n    param_2 = lVar1;\n  } while (lVar1 != 0);" do (compound_statement "{\n    FUN_00192e30(param_1,*(undefined8 *)(param_2 + 0x18));\n    lVar1 = *(long *)(param_2 + 0x10);\n    if (*(long *)(param_2 + 0x20) != param_2 + 0x30) {\n      FUN_00276d20();\n    }\n    FUN_00276d20(param_2);\n    param_2 = lVar1;\n  }" { (expression_statement "FUN_00192e30(param_1,*(undefined8 *)(param_2 + 0x18));" (call_expression "FUN_00192e30(param_1,*(undefined8 *)(param_2 + 0x18))" identifier (argument_list "(param_1,*(undefined8 *)(param_2 + 0x18))" ( identifier , (pointer_expression "*(undefined8 *)(param_2 + 0x18)" * (cast_expression "(undefined8 *)(param_2 + 0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) ))) ;) (expression_statement "lVar1 = *(long *)(param_2 + 0x10);" (assignment_expression "lVar1 = *(long *)(param_2 + 0x10)" identifier = (pointer_expression "*(long *)(param_2 + 0x10)" * (cast_expression "(long *)(param_2 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (*(long *)(param_2 + 0x20) != param_2 + 0x30) {\n      FUN_00276d20();\n    }" if (parenthesized_expression "(*(long *)(param_2 + 0x20) != param_2 + 0x30)" ( (binary_expression "*(long *)(param_2 + 0x20) != param_2 + 0x30" (pointer_expression "*(long *)(param_2 + 0x20)" * (cast_expression "(long *)(param_2 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) )))) != (binary_expression "param_2 + 0x30" identifier + number_literal)) )) (compound_statement "{\n      FUN_00276d20();\n    }" { (expression_statement "FUN_00276d20();" (call_expression "FUN_00276d20()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_00276d20(param_2);" (call_expression "FUN_00276d20(param_2)" identifier (argument_list "(param_2)" ( identifier ))) ;) (expression_statement "param_2 = lVar1;" (assignment_expression "param_2 = lVar1" identifier = identifier) ;) }) while (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return ;) })) (do_statement do (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (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 *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (binary_expression IDENT + LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (return_statement return ;) })))
(function_definition "void FUN_00192e30(undefined8 param_1,long param_2)\n\n{\n  long lVar1;\n  \n  if (param_2 == 0) {\n    return;\n  }\n  do {\n    FUN_00192e30(param_1,*(undefined8 *)(param_2 + 0x18));\n    lVar1 = *(long *)(param_2 + 0x10);\n    if (*(long *)(param_2 + 0x20) != param_2 + 0x30) {\n      FUN_00276d20();\n    }\n    FUN_00276d20(param_2);\n    param_2 = lVar1;\n  } while (lVar1 != 0);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00192e30(undefined8 param_1,long param_2)" (identifier "FUN_00192e30") (parameter_list "(undefined8 param_1,long param_2)" (( "(") (parameter_declaration "undefined8 param_1" (type_identifier "undefined8") (identifier "param_1")) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) () ")"))) (compound_statement "{\n  long lVar1;\n  \n  if (param_2 == 0) {\n    return;\n  }\n  do {\n    FUN_00192e30(param_1,*(undefined8 *)(param_2 + 0x18));\n    lVar1 = *(long *)(param_2 + 0x10);\n    if (*(long *)(param_2 + 0x20) != param_2 + 0x30) {\n      FUN_00276d20();\n    }\n    FUN_00276d20(param_2);\n    param_2 = lVar1;\n  } while (lVar1 != 0);\n  return;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (if_statement "if (param_2 == 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (do_statement "do {\n    FUN_00192e30(param_1,*(undefined8 *)(param_2 + 0x18));\n    lVar1 = *(long *)(param_2 + 0x10);\n    if (*(long *)(param_2 + 0x20) != param_2 + 0x30) {\n      FUN_00276d20();\n    }\n    FUN_00276d20(param_2);\n    param_2 = lVar1;\n  } while (lVar1 != 0);" (do "do") (compound_statement "{\n    FUN_00192e30(param_1,*(undefined8 *)(param_2 + 0x18));\n    lVar1 = *(long *)(param_2 + 0x10);\n    if (*(long *)(param_2 + 0x20) != param_2 + 0x30) {\n      FUN_00276d20();\n    }\n    FUN_00276d20(param_2);\n    param_2 = lVar1;\n  }" ({ "{") (expression_statement "FUN_00192e30(param_1,*(undefined8 *)(param_2 + 0x18));" (call_expression "FUN_00192e30(param_1,*(undefined8 *)(param_2 + 0x18))" (identifier "FUN_00192e30") (argument_list "(param_1,*(undefined8 *)(param_2 + 0x18))" (( "(") (identifier "param_1") (, ",") (pointer_expression "*(undefined8 *)(param_2 + 0x18)" (* "*") (cast_expression "(undefined8 *)(param_2 + 0x18)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x18)" (( "(") (binary_expression "param_2 + 0x18" (identifier "param_2") (+ "+") (number_literal "0x18")) () ")")))) () ")"))) (; ";")) (expression_statement "lVar1 = *(long *)(param_2 + 0x10);" (assignment_expression "lVar1 = *(long *)(param_2 + 0x10)" (identifier "lVar1") (= "=") (pointer_expression "*(long *)(param_2 + 0x10)" (* "*") (cast_expression "(long *)(param_2 + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x10)" (( "(") (binary_expression "param_2 + 0x10" (identifier "param_2") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (if_statement "if (*(long *)(param_2 + 0x20) != param_2 + 0x30) {\n      FUN_00276d20();\n    }" (if "if") (parenthesized_expression "(*(long *)(param_2 + 0x20) != param_2 + 0x30)" (( "(") (binary_expression "*(long *)(param_2 + 0x20) != param_2 + 0x30" (pointer_expression "*(long *)(param_2 + 0x20)" (* "*") (cast_expression "(long *)(param_2 + 0x20)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x20)" (( "(") (binary_expression "param_2 + 0x20" (identifier "param_2") (+ "+") (number_literal "0x20")) () ")")))) (!= "!=") (binary_expression "param_2 + 0x30" (identifier "param_2") (+ "+") (number_literal "0x30"))) () ")")) (compound_statement "{\n      FUN_00276d20();\n    }" ({ "{") (expression_statement "FUN_00276d20();" (call_expression "FUN_00276d20()" (identifier "FUN_00276d20") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_00276d20(param_2);" (call_expression "FUN_00276d20(param_2)" (identifier "FUN_00276d20") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")"))) (; ";")) (expression_statement "param_2 = lVar1;" (assignment_expression "param_2 = lVar1" (identifier "param_2") (= "=") (identifier "lVar1")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(lVar1 != 0)" (( "(") (binary_expression "lVar1 != 0" (identifier "lVar1") (!= "!=") (number_literal "0")) () ")")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* DWARF original prototype: void
   _M_erase(_Rb_tree<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_gold::Kept_section::Comdat_section_info>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_gold::Kept_section::Comdat_section_info>_>,_std::less<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_gold::Kept_section::Comdat_section_info>_>_>
   * this, _Link_type __x) */

void __thiscall
std::
_Rb_tree<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_gold::Kept_section::Comdat_section_info>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_gold::Kept_section::Comdat_section_info>_>,_std::less<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_gold::Kept_section::Comdat_section_info>_>_>
::var_2(_Rb_tree<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_gold::Kept_section::Comdat_section_info>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_gold::Kept_section::Comdat_section_info>_>,_std::less<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_gold::Kept_section::Comdat_section_info>_>_>
           *this,type_1 var_1)

{
  type_2 *var_3;
  type_1 var_5;
  
  if (var_1 == (type_1)0x0) {
    return;
  }
  do {
    var_2(this,(type_1)(var_1->super__Rb_tree_node_base)._M_right);
    var_3 = *(type_2 **)(var_1->_M_storage)._M_storage;
    var_5 = (type_1)(var_1->super__Rb_tree_node_base)._M_left;
    if (var_3 != (var_1->_M_storage)._M_storage + 0x10) {
      var_4(var_3);
    }
    var_4(var_1);
    var_1 = var_5;
  } while (var_5 != (type_1)0x0);
  return;
}


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

void MASKED(undefined8 param_1,long param_2)

{
  long lVar1;
  
  if (param_2 == 0) {
    return;
  }
  do {
    MASKED(param_1,*(undefined8 *)(param_2 + 0x18));
    lVar1 = *(long *)(param_2 + 0x10);
    if (*(long *)(param_2 + 0x20) != param_2 + 0x30) {
      FUN_00276d20();
    }
    FUN_00276d20(param_2);
    param_2 = lVar1;
  } while (lVar1 != 0);
  return;
}

