
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* 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>_>,_long_long_unsigned_int>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_long_unsigned_int>_>,_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>_>,_long_long_unsigned_int>_>_>
   * 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>_>,_long_long_unsigned_int>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_long_unsigned_int>_>,_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>_>,_long_long_unsigned_int>_>_>
::_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>_>,_long_long_unsigned_int>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_long_unsigned_int>_>,_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>_>,_long_long_unsigned_int>_>_>
           *this,_Link_type __x)

{
  undefined1 *puVar1;
  _Link_type p_Var2;
  
  if (__x != (_Link_type)0x0) {
    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 + 8) {
        operator_delete(puVar1);
      }
      operator_delete(__x);
      __x = p_Var2;
    } while (p_Var2 != (_Link_type)0x0);
  }
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void FUN_000465e0(undefined4 param_1,int param_2)

{
  int iVar1;
  
  if (param_2 != 0) {
    do {
      FUN_000465e0(param_1,*(undefined4 *)(param_2 + 0xc));
      iVar1 = *(int *)(param_2 + 8);
      if (*(int *)(param_2 + 0x10) != param_2 + 0x18) {
        FUN_001ff030(*(int *)(param_2 + 0x10));
      }
      FUN_001ff030(param_2);
      param_2 = iVar1;
    } while (iVar1 != 0);
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00036f20
ADD EBX,0x368a17
SUB ESP,0xc
MOV ESI,dword ptr [ESP + 0x24]
MOV EBP,dword ptr [ESP + 0x20]
TEST ESI,ESI
JZ 0x00046638
SUB ESP,0x8
PUSH dword ptr [ESI + 0xc]
PUSH EBP
CALL 0x000465e0
MOV EAX,dword ptr [ESI + 0x10]
LEA EDX,[ESI + 0x18]
MOV EDI,dword ptr [ESI + 0x8]
ADD ESP,0x10
CMP EAX,EDX
JZ 0x00046626
SUB ESP,0xc
PUSH EAX
CALL 0x001ff030
ADD ESP,0x10
SUB ESP,0xc
PUSH ESI
MOV ESI,EDI
CALL 0x001ff030
ADD ESP,0x10
TEST EDI,EDI
JNZ 0x000465fe
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000465e0(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if (param_2 != 0) {\n    do {\n      FUN_000465e0(param_1,*(undefined4 *)(param_2 + 0xc));\n      iVar1 = *(int *)(param_2 + 8);\n      if (*(int *)(param_2 + 0x10) != param_2 + 0x18) {\n        FUN_001ff030(*(int *)(param_2 + 0x10));\n      }\n      FUN_001ff030(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_000465e0(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if (param_2 != 0) {\n    do {\n      FUN_000465e0(param_1,*(undefined4 *)(param_2 + 0xc));\n      iVar1 = *(int *)(param_2 + 8);\n      if (*(int *)(param_2 + 0x10) != param_2 + 0x18) {\n        FUN_001ff030(*(int *)(param_2 + 0x10));\n      }\n      FUN_001ff030(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000465e0(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (param_2 != 0) {\n    do {\n      FUN_000465e0(param_1,*(undefined4 *)(param_2 + 0xc));\n      iVar1 = *(int *)(param_2 + 8);\n      if (*(int *)(param_2 + 0x10) != param_2 + 0x18) {\n        FUN_001ff030(*(int *)(param_2 + 0x10));\n      }\n      FUN_001ff030(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (param_2 != 0) {\n    do {\n      FUN_000465e0(param_1,*(undefined4 *)(param_2 + 0xc));\n      iVar1 = *(int *)(param_2 + 8);\n      if (*(int *)(param_2 + 0x10) != param_2 + 0x18) {\n        FUN_001ff030(*(int *)(param_2 + 0x10));\n      }\n      FUN_001ff030(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    do {\n      FUN_000465e0(param_1,*(undefined4 *)(param_2 + 0xc));\n      iVar1 = *(int *)(param_2 + 8);\n      if (*(int *)(param_2 + 0x10) != param_2 + 0x18) {\n        FUN_001ff030(*(int *)(param_2 + 0x10));\n      }\n      FUN_001ff030(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);\n  }" { (do_statement "do {\n      FUN_000465e0(param_1,*(undefined4 *)(param_2 + 0xc));\n      iVar1 = *(int *)(param_2 + 8);\n      if (*(int *)(param_2 + 0x10) != param_2 + 0x18) {\n        FUN_001ff030(*(int *)(param_2 + 0x10));\n      }\n      FUN_001ff030(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);" do (compound_statement "{\n      FUN_000465e0(param_1,*(undefined4 *)(param_2 + 0xc));\n      iVar1 = *(int *)(param_2 + 8);\n      if (*(int *)(param_2 + 0x10) != param_2 + 0x18) {\n        FUN_001ff030(*(int *)(param_2 + 0x10));\n      }\n      FUN_001ff030(param_2);\n      param_2 = iVar1;\n    }" { (expression_statement "FUN_000465e0(param_1,*(undefined4 *)(param_2 + 0xc));" (call_expression "FUN_000465e0(param_1,*(undefined4 *)(param_2 + 0xc))" identifier (argument_list "(param_1,*(undefined4 *)(param_2 + 0xc))" ( identifier , (pointer_expression "*(undefined4 *)(param_2 + 0xc)" * (cast_expression "(undefined4 *)(param_2 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) )))) ))) ;) (expression_statement "iVar1 = *(int *)(param_2 + 8);" (assignment_expression "iVar1 = *(int *)(param_2 + 8)" identifier = (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(param_2 + 0x10) != param_2 + 0x18) {\n        FUN_001ff030(*(int *)(param_2 + 0x10));\n      }" if (parenthesized_expression "(*(int *)(param_2 + 0x10) != param_2 + 0x18)" ( (binary_expression "*(int *)(param_2 + 0x10) != param_2 + 0x18" (pointer_expression "*(int *)(param_2 + 0x10)" * (cast_expression "(int *)(param_2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) != (binary_expression "param_2 + 0x18" identifier + number_literal)) )) (compound_statement "{\n        FUN_001ff030(*(int *)(param_2 + 0x10));\n      }" { (expression_statement "FUN_001ff030(*(int *)(param_2 + 0x10));" (call_expression "FUN_001ff030(*(int *)(param_2 + 0x10))" identifier (argument_list "(*(int *)(param_2 + 0x10))" ( (pointer_expression "*(int *)(param_2 + 0x10)" * (cast_expression "(int *)(param_2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) ))) ;) })) (expression_statement "FUN_001ff030(param_2);" (call_expression "FUN_001ff030(param_2)" identifier (argument_list "(param_2)" ( identifier ))) ;) (expression_statement "param_2 = iVar1;" (assignment_expression "param_2 = iVar1" identifier = identifier) ;) }) while (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* 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>_>,_long_long_unsigned_int>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_long_unsigned_int>_>,_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>_>,_long_long_unsigned_int>_>_>\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>_>,_long_long_unsigned_int>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_long_unsigned_int>_>,_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>_>,_long_long_unsigned_int>_>_>\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>_>,_long_long_unsigned_int>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_long_unsigned_int>_>,_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>_>,_long_long_unsigned_int>_>_>\n           *this,_Link_type __x)\n\n{\n  undefined1 *puVar1;\n  _Link_type p_Var2;\n  \n  if (__x != (_Link_type)0x0) {\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 + 8) {\n        operator_delete(puVar1);\n      }\n      operator_delete(__x);\n      __x = p_Var2;\n    } while (p_Var2 != (_Link_type)0x0);\n  }\n  return;\n}\n\n" comment 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>_>,_long_long_unsigned_int>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_long_unsigned_int>_>,_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>_>,_long_long_unsigned_int>_>_>\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>_>,_long_long_unsigned_int>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_long_unsigned_int>_>,_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>_>,_long_long_unsigned_int>_>_>\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 ">" >) , 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 ">" >) , identifier (ERROR ">_>" > identifier >) , (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 "_long_long_unsigned_int>_>_>\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>_>,_long_long_unsigned_int>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_long_unsigned_int>_>,_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>_>,_long_long_unsigned_int>_>_>\n           *this,_Link_type __x)\n\n{\n  undefined1" 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>_>,_long_long_unsigned_int>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_long_unsigned_int>_>,_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>_>,_long_long_unsigned_int>_>_>\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>_>,_long_long_unsigned_int>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_long_unsigned_int>_>,_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>_>,_long_long_unsigned_int>_>_>\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 "_long_long_unsigned_int" type_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 "_long_long_unsigned_int>_" type_identifier (ERROR ">" >) 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 "_long_long_unsigned_int>_>_>\n           *this" type_identifier (ERROR ">_>_>" > 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    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 + 8) {\n        operator_delete(puVar1);\n      }\n      operator_delete(__x);\n      __x = p_Var2;\n    } while (p_Var2 != (_Link_type)0x0);\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    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 + 8) {\n        operator_delete(puVar1);\n      }\n      operator_delete(__x);\n      __x = p_Var2;\n    } while (p_Var2 != (_Link_type)0x0);\n  }" { (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 + 8) {\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 + 8) {\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 + 8) {\n        operator_delete(puVar1);\n      }" if (parenthesized_expression "(puVar1 != (__x->_M_storage)._M_storage + 8)" ( (binary_expression "puVar1 != (__x->_M_storage)._M_storage + 8" identifier != (binary_expression "(__x->_M_storage)._M_storage + 8" (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_000465e0(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if (param_2 != 0) {\n    do {\n      FUN_000465e0(param_1,*(undefined4 *)(param_2 + 0xc));\n      iVar1 = *(int *)(param_2 + 8);\n      if (*(int *)(param_2 + 0x10) != param_2 + 0x18) {\n        FUN_001ff030(*(int *)(param_2 + 0x10));\n      }\n      FUN_001ff030(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);\n  }\n  return;\n}\n\n" (function_definition "void FUN_000465e0(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if (param_2 != 0) {\n    do {\n      FUN_000465e0(param_1,*(undefined4 *)(param_2 + 0xc));\n      iVar1 = *(int *)(param_2 + 8);\n      if (*(int *)(param_2 + 0x10) != param_2 + 0x18) {\n        FUN_001ff030(*(int *)(param_2 + 0x10));\n      }\n      FUN_001ff030(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000465e0(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (param_2 != 0) {\n    do {\n      FUN_000465e0(param_1,*(undefined4 *)(param_2 + 0xc));\n      iVar1 = *(int *)(param_2 + 8);\n      if (*(int *)(param_2 + 0x10) != param_2 + 0x18) {\n        FUN_001ff030(*(int *)(param_2 + 0x10));\n      }\n      FUN_001ff030(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (param_2 != 0) {\n    do {\n      FUN_000465e0(param_1,*(undefined4 *)(param_2 + 0xc));\n      iVar1 = *(int *)(param_2 + 8);\n      if (*(int *)(param_2 + 0x10) != param_2 + 0x18) {\n        FUN_001ff030(*(int *)(param_2 + 0x10));\n      }\n      FUN_001ff030(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    do {\n      FUN_000465e0(param_1,*(undefined4 *)(param_2 + 0xc));\n      iVar1 = *(int *)(param_2 + 8);\n      if (*(int *)(param_2 + 0x10) != param_2 + 0x18) {\n        FUN_001ff030(*(int *)(param_2 + 0x10));\n      }\n      FUN_001ff030(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);\n  }" { (do_statement "do {\n      FUN_000465e0(param_1,*(undefined4 *)(param_2 + 0xc));\n      iVar1 = *(int *)(param_2 + 8);\n      if (*(int *)(param_2 + 0x10) != param_2 + 0x18) {\n        FUN_001ff030(*(int *)(param_2 + 0x10));\n      }\n      FUN_001ff030(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);" do (compound_statement "{\n      FUN_000465e0(param_1,*(undefined4 *)(param_2 + 0xc));\n      iVar1 = *(int *)(param_2 + 8);\n      if (*(int *)(param_2 + 0x10) != param_2 + 0x18) {\n        FUN_001ff030(*(int *)(param_2 + 0x10));\n      }\n      FUN_001ff030(param_2);\n      param_2 = iVar1;\n    }" { (expression_statement "FUN_000465e0(param_1,*(undefined4 *)(param_2 + 0xc));" (call_expression "FUN_000465e0(param_1,*(undefined4 *)(param_2 + 0xc))" identifier (argument_list "(param_1,*(undefined4 *)(param_2 + 0xc))" ( identifier , (pointer_expression "*(undefined4 *)(param_2 + 0xc)" * (cast_expression "(undefined4 *)(param_2 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) )))) ))) ;) (expression_statement "iVar1 = *(int *)(param_2 + 8);" (assignment_expression "iVar1 = *(int *)(param_2 + 8)" identifier = (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(param_2 + 0x10) != param_2 + 0x18) {\n        FUN_001ff030(*(int *)(param_2 + 0x10));\n      }" if (parenthesized_expression "(*(int *)(param_2 + 0x10) != param_2 + 0x18)" ( (binary_expression "*(int *)(param_2 + 0x10) != param_2 + 0x18" (pointer_expression "*(int *)(param_2 + 0x10)" * (cast_expression "(int *)(param_2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) != (binary_expression "param_2 + 0x18" identifier + number_literal)) )) (compound_statement "{\n        FUN_001ff030(*(int *)(param_2 + 0x10));\n      }" { (expression_statement "FUN_001ff030(*(int *)(param_2 + 0x10));" (call_expression "FUN_001ff030(*(int *)(param_2 + 0x10))" identifier (argument_list "(*(int *)(param_2 + 0x10))" ( (pointer_expression "*(int *)(param_2 + 0x10)" * (cast_expression "(int *)(param_2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) ))) ;) })) (expression_statement "FUN_001ff030(param_2);" (call_expression "FUN_001ff030(param_2)" identifier (argument_list "(param_2)" ( identifier ))) ;) (expression_statement "param_2 = iVar1;" (assignment_expression "param_2 = iVar1" identifier = identifier) ;) }) while (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (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 TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (binary_expression IDENT + LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) })) (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_000465e0(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if (param_2 != 0) {\n    do {\n      FUN_000465e0(param_1,*(undefined4 *)(param_2 + 0xc));\n      iVar1 = *(int *)(param_2 + 8);\n      if (*(int *)(param_2 + 0x10) != param_2 + 0x18) {\n        FUN_001ff030(*(int *)(param_2 + 0x10));\n      }\n      FUN_001ff030(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000465e0(undefined4 param_1,int param_2)" (identifier "FUN_000465e0") (parameter_list "(undefined4 param_1,int param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  if (param_2 != 0) {\n    do {\n      FUN_000465e0(param_1,*(undefined4 *)(param_2 + 0xc));\n      iVar1 = *(int *)(param_2 + 8);\n      if (*(int *)(param_2 + 0x10) != param_2 + 0x18) {\n        FUN_001ff030(*(int *)(param_2 + 0x10));\n      }\n      FUN_001ff030(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (if_statement "if (param_2 != 0) {\n    do {\n      FUN_000465e0(param_1,*(undefined4 *)(param_2 + 0xc));\n      iVar1 = *(int *)(param_2 + 8);\n      if (*(int *)(param_2 + 0x10) != param_2 + 0x18) {\n        FUN_001ff030(*(int *)(param_2 + 0x10));\n      }\n      FUN_001ff030(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);\n  }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    do {\n      FUN_000465e0(param_1,*(undefined4 *)(param_2 + 0xc));\n      iVar1 = *(int *)(param_2 + 8);\n      if (*(int *)(param_2 + 0x10) != param_2 + 0x18) {\n        FUN_001ff030(*(int *)(param_2 + 0x10));\n      }\n      FUN_001ff030(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);\n  }" ({ "{") (do_statement "do {\n      FUN_000465e0(param_1,*(undefined4 *)(param_2 + 0xc));\n      iVar1 = *(int *)(param_2 + 8);\n      if (*(int *)(param_2 + 0x10) != param_2 + 0x18) {\n        FUN_001ff030(*(int *)(param_2 + 0x10));\n      }\n      FUN_001ff030(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);" (do "do") (compound_statement "{\n      FUN_000465e0(param_1,*(undefined4 *)(param_2 + 0xc));\n      iVar1 = *(int *)(param_2 + 8);\n      if (*(int *)(param_2 + 0x10) != param_2 + 0x18) {\n        FUN_001ff030(*(int *)(param_2 + 0x10));\n      }\n      FUN_001ff030(param_2);\n      param_2 = iVar1;\n    }" ({ "{") (expression_statement "FUN_000465e0(param_1,*(undefined4 *)(param_2 + 0xc));" (call_expression "FUN_000465e0(param_1,*(undefined4 *)(param_2 + 0xc))" (identifier "FUN_000465e0") (argument_list "(param_1,*(undefined4 *)(param_2 + 0xc))" (( "(") (identifier "param_1") (, ",") (pointer_expression "*(undefined4 *)(param_2 + 0xc)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0xc)" (( "(") (binary_expression "param_2 + 0xc" (identifier "param_2") (+ "+") (number_literal "0xc")) () ")")))) () ")"))) (; ";")) (expression_statement "iVar1 = *(int *)(param_2 + 8);" (assignment_expression "iVar1 = *(int *)(param_2 + 8)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_2 + 8)" (* "*") (cast_expression "(int *)(param_2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (*(int *)(param_2 + 0x10) != param_2 + 0x18) {\n        FUN_001ff030(*(int *)(param_2 + 0x10));\n      }" (if "if") (parenthesized_expression "(*(int *)(param_2 + 0x10) != param_2 + 0x18)" (( "(") (binary_expression "*(int *)(param_2 + 0x10) != param_2 + 0x18" (pointer_expression "*(int *)(param_2 + 0x10)" (* "*") (cast_expression "(int *)(param_2 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x10)" (( "(") (binary_expression "param_2 + 0x10" (identifier "param_2") (+ "+") (number_literal "0x10")) () ")")))) (!= "!=") (binary_expression "param_2 + 0x18" (identifier "param_2") (+ "+") (number_literal "0x18"))) () ")")) (compound_statement "{\n        FUN_001ff030(*(int *)(param_2 + 0x10));\n      }" ({ "{") (expression_statement "FUN_001ff030(*(int *)(param_2 + 0x10));" (call_expression "FUN_001ff030(*(int *)(param_2 + 0x10))" (identifier "FUN_001ff030") (argument_list "(*(int *)(param_2 + 0x10))" (( "(") (pointer_expression "*(int *)(param_2 + 0x10)" (* "*") (cast_expression "(int *)(param_2 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x10)" (( "(") (binary_expression "param_2 + 0x10" (identifier "param_2") (+ "+") (number_literal "0x10")) () ")")))) () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_001ff030(param_2);" (call_expression "FUN_001ff030(param_2)" (identifier "FUN_001ff030") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")"))) (; ";")) (expression_statement "param_2 = iVar1;" (assignment_expression "param_2 = iVar1" (identifier "param_2") (= "=") (identifier "iVar1")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* 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>_>,_long_long_unsigned_int>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_long_unsigned_int>_>,_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>_>,_long_long_unsigned_int>_>_>
   * 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>_>,_long_long_unsigned_int>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_long_unsigned_int>_>,_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>_>,_long_long_unsigned_int>_>_>
::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>_>,_long_long_unsigned_int>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_long_unsigned_int>_>,_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>_>,_long_long_unsigned_int>_>_>
           *this,type_1 var_1)

{
  type_2 *var_3;
  type_1 var_5;
  
  if (var_1 != (type_1)0x0) {
    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 + 8) {
        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: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_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: (primitive_type) 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: (primitive_type) 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 (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 (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))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void MASKED(undefined4 param_1,int param_2)

{
  int iVar1;
  
  if (param_2 != 0) {
    do {
      MASKED(param_1,*(undefined4 *)(param_2 + 0xc));
      iVar1 = *(int *)(param_2 + 8);
      if (*(int *)(param_2 + 0x10) != param_2 + 0x18) {
        FUN_001ff030(*(int *)(param_2 + 0x10));
      }
      FUN_001ff030(param_2);
      param_2 = iVar1;
    } while (iVar1 != 0);
  }
  return;
}

