
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Type propagation algorithm not settling */
/* DWARF original prototype: void clear_view_cache_marks(File_read * this) */

void __thiscall gold::File_read::clear_view_cache_marks(File_read *this)

{
  _List_node_base *p_Var1;
  _List_node_base *p_Var2;
  _Rb_tree_node_base *p_Var3;
  
  if (this->object_count_ < 2) {
    for (p_Var3 = (this->views_)._M_t._M_impl.super__Rb_tree_header._M_header._M_left;
        (_Rb_tree_header *)p_Var3 != &(this->views_)._M_t._M_impl.super__Rb_tree_header;
        p_Var3 = (_Rb_tree_node_base *)std::_Rb_tree_increment(p_Var3)) {
      *(undefined1 *)&p_Var3[1]._M_right[1]._M_left = 0;
    }
    p_Var2 = (this->saved_views_).
             super__List_base<gold::File_read::View*,_std::allocator<gold::File_read::View*>_>.
             _M_impl._M_node.super__List_node_base._M_next;
    while (p_Var2 != (_List_node_base *)&this->saved_views_) {
      p_Var1 = p_Var2 + 1;
      p_Var2 = p_Var2->_M_next;
      *(undefined1 *)&p_Var1->_M_next[3]._M_next = 0;
    }
  }
  return;
}



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

void FUN_000675f0(int param_1)

{
  int *piVar1;
  undefined4 *puVar2;
  int iVar3;
  
  if (*(int *)(param_1 + 0x20) < 2) {
    for (iVar3 = *(int *)(param_1 + 0x4c); iVar3 != param_1 + 0x44; iVar3 = FUN_001e8390(iVar3)) {
      *(undefined1 *)(*(int *)(iVar3 + 0x1c) + 0x18) = 0;
    }
    puVar2 = *(undefined4 **)(param_1 + 0x58);
    while (puVar2 != (undefined4 *)(param_1 + 0x58)) {
      piVar1 = puVar2 + 2;
      puVar2 = (undefined4 *)*puVar2;
      *(undefined1 *)(*piVar1 + 0x18) = 0;
    }
  }
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV ESI,dword ptr [ESP + 0x10]
CALL 0x00035840
ADD EBX,0x327a04
CMP dword ptr [ESI + 0x20],0x1
JG 0x0006764d
MOV EAX,dword ptr [ESI + 0x4c]
LEA EDI,[ESI + 0x44]
CMP EAX,EDI
JZ 0x0006762f
LEA ESI,[ESI]
MOV EDX,dword ptr [EAX + 0x1c]
SUB ESP,0xc
MOV byte ptr [EDX + 0x18],0x0
PUSH EAX
CALL 0x001e8390
ADD ESP,0x10
CMP EAX,EDI
JNZ 0x00067618
MOV EAX,dword ptr [ESI + 0x58]
LEA EDX,[ESI + 0x58]
CMP EAX,EDX
JZ 0x0006764d
LEA ESI,[ESI]
MOV ECX,dword ptr [EAX + 0x8]
MOV EAX,dword ptr [EAX]
MOV byte ptr [ECX + 0x18],0x0
CMP EAX,EDX
JNZ 0x00067640
POP EBX
POP ESI
POP EDI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000675f0(int param_1)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n  if (*(int *)(param_1 + 0x20) < 2) {\n    for (iVar3 = *(int *)(param_1 + 0x4c); iVar3 != param_1 + 0x44; iVar3 = FUN_001e8390(iVar3)) {\n      *(undefined1 *)(*(int *)(iVar3 + 0x1c) + 0x18) = 0;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x58);\n    while (puVar2 != (undefined4 *)(param_1 + 0x58)) {\n      piVar1 = puVar2 + 2;\n      puVar2 = (undefined4 *)*puVar2;\n      *(undefined1 *)(*piVar1 + 0x18) = 0;\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_000675f0(int param_1)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n  if (*(int *)(param_1 + 0x20) < 2) {\n    for (iVar3 = *(int *)(param_1 + 0x4c); iVar3 != param_1 + 0x44; iVar3 = FUN_001e8390(iVar3)) {\n      *(undefined1 *)(*(int *)(iVar3 + 0x1c) + 0x18) = 0;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x58);\n    while (puVar2 != (undefined4 *)(param_1 + 0x58)) {\n      piVar1 = puVar2 + 2;\n      puVar2 = (undefined4 *)*puVar2;\n      *(undefined1 *)(*piVar1 + 0x18) = 0;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000675f0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n  if (*(int *)(param_1 + 0x20) < 2) {\n    for (iVar3 = *(int *)(param_1 + 0x4c); iVar3 != param_1 + 0x44; iVar3 = FUN_001e8390(iVar3)) {\n      *(undefined1 *)(*(int *)(iVar3 + 0x1c) + 0x18) = 0;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x58);\n    while (puVar2 != (undefined4 *)(param_1 + 0x58)) {\n      piVar1 = puVar2 + 2;\n      puVar2 = (undefined4 *)*puVar2;\n      *(undefined1 *)(*piVar1 + 0x18) = 0;\n    }\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if (*(int *)(param_1 + 0x20) < 2) {\n    for (iVar3 = *(int *)(param_1 + 0x4c); iVar3 != param_1 + 0x44; iVar3 = FUN_001e8390(iVar3)) {\n      *(undefined1 *)(*(int *)(iVar3 + 0x1c) + 0x18) = 0;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x58);\n    while (puVar2 != (undefined4 *)(param_1 + 0x58)) {\n      piVar1 = puVar2 + 2;\n      puVar2 = (undefined4 *)*puVar2;\n      *(undefined1 *)(*piVar1 + 0x18) = 0;\n    }\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x20) < 2)" ( (binary_expression "*(int *)(param_1 + 0x20) < 2" (pointer_expression "*(int *)(param_1 + 0x20)" * (cast_expression "(int *)(param_1 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) < number_literal) )) (compound_statement "{\n    for (iVar3 = *(int *)(param_1 + 0x4c); iVar3 != param_1 + 0x44; iVar3 = FUN_001e8390(iVar3)) {\n      *(undefined1 *)(*(int *)(iVar3 + 0x1c) + 0x18) = 0;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x58);\n    while (puVar2 != (undefined4 *)(param_1 + 0x58)) {\n      piVar1 = puVar2 + 2;\n      puVar2 = (undefined4 *)*puVar2;\n      *(undefined1 *)(*piVar1 + 0x18) = 0;\n    }\n  }" { (for_statement "for (iVar3 = *(int *)(param_1 + 0x4c); iVar3 != param_1 + 0x44; iVar3 = FUN_001e8390(iVar3)) {\n      *(undefined1 *)(*(int *)(iVar3 + 0x1c) + 0x18) = 0;\n    }" for ( (assignment_expression "iVar3 = *(int *)(param_1 + 0x4c)" identifier = (pointer_expression "*(int *)(param_1 + 0x4c)" * (cast_expression "(int *)(param_1 + 0x4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x4c)" ( (binary_expression "param_1 + 0x4c" identifier + number_literal) ))))) ; (binary_expression "iVar3 != param_1 + 0x44" identifier != (binary_expression "param_1 + 0x44" identifier + number_literal)) ; (assignment_expression "iVar3 = FUN_001e8390(iVar3)" identifier = (call_expression "FUN_001e8390(iVar3)" identifier (argument_list "(iVar3)" ( identifier )))) ) (compound_statement "{\n      *(undefined1 *)(*(int *)(iVar3 + 0x1c) + 0x18) = 0;\n    }" { (expression_statement "*(undefined1 *)(*(int *)(iVar3 + 0x1c) + 0x18) = 0;" (assignment_expression "*(undefined1 *)(*(int *)(iVar3 + 0x1c) + 0x18) = 0" (pointer_expression "*(undefined1 *)(*(int *)(iVar3 + 0x1c) + 0x18)" * (cast_expression "(undefined1 *)(*(int *)(iVar3 + 0x1c) + 0x18)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar3 + 0x1c) + 0x18)" ( (binary_expression "*(int *)(iVar3 + 0x1c) + 0x18" (pointer_expression "*(int *)(iVar3 + 0x1c)" * (cast_expression "(int *)(iVar3 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1c)" ( (binary_expression "iVar3 + 0x1c" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) })) (expression_statement "puVar2 = *(undefined4 **)(param_1 + 0x58);" (assignment_expression "puVar2 = *(undefined4 **)(param_1 + 0x58)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x58)" * (cast_expression "(undefined4 **)(param_1 + 0x58)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) ))))) ;) (while_statement "while (puVar2 != (undefined4 *)(param_1 + 0x58)) {\n      piVar1 = puVar2 + 2;\n      puVar2 = (undefined4 *)*puVar2;\n      *(undefined1 *)(*piVar1 + 0x18) = 0;\n    }" while (parenthesized_expression "(puVar2 != (undefined4 *)(param_1 + 0x58))" ( (binary_expression "puVar2 != (undefined4 *)(param_1 + 0x58)" identifier != (cast_expression "(undefined4 *)(param_1 + 0x58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) )))) )) (compound_statement "{\n      piVar1 = puVar2 + 2;\n      puVar2 = (undefined4 *)*puVar2;\n      *(undefined1 *)(*piVar1 + 0x18) = 0;\n    }" { (expression_statement "piVar1 = puVar2 + 2;" (assignment_expression "piVar1 = puVar2 + 2" identifier = (binary_expression "puVar2 + 2" identifier + number_literal)) ;) (expression_statement "puVar2 = (undefined4 *)*puVar2;" (assignment_expression "puVar2 = (undefined4 *)*puVar2" identifier = (cast_expression "(undefined4 *)*puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) ;) (expression_statement "*(undefined1 *)(*piVar1 + 0x18) = 0;" (assignment_expression "*(undefined1 *)(*piVar1 + 0x18) = 0" (pointer_expression "*(undefined1 *)(*piVar1 + 0x18)" * (cast_expression "(undefined1 *)(*piVar1 + 0x18)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar1 + 0x18)" ( (binary_expression "*piVar1 + 0x18" (pointer_expression "*piVar1" * identifier) + number_literal) )))) = number_literal) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Type propagation algorithm not settling */\n/* DWARF original prototype: void clear_view_cache_marks(File_read * this) */\n\nvoid __thiscall gold::File_read::clear_view_cache_marks(File_read *this)\n\n{\n  _List_node_base *p_Var1;\n  _List_node_base *p_Var2;\n  _Rb_tree_node_base *p_Var3;\n  \n  if (this->object_count_ < 2) {\n    for (p_Var3 = (this->views_)._M_t._M_impl.super__Rb_tree_header._M_header._M_left;\n        (_Rb_tree_header *)p_Var3 != &(this->views_)._M_t._M_impl.super__Rb_tree_header;\n        p_Var3 = (_Rb_tree_node_base *)std::_Rb_tree_increment(p_Var3)) {\n      *(undefined1 *)&p_Var3[1]._M_right[1]._M_left = 0;\n    }\n    p_Var2 = (this->saved_views_).\n             super__List_base<gold::File_read::View*,_std::allocator<gold::File_read::View*>_>.\n             _M_impl._M_node.super__List_node_base._M_next;\n    while (p_Var2 != (_List_node_base *)&this->saved_views_) {\n      p_Var1 = p_Var2 + 1;\n      p_Var2 = p_Var2->_M_next;\n      *(undefined1 *)&p_Var1->_M_next[3]._M_next = 0;\n    }\n  }\n  return;\n}\n\n" comment comment comment (function_definition "void __thiscall gold::File_read::clear_view_cache_marks(File_read *this)\n\n{\n  _List_node_base *p_Var1;\n  _List_node_base *p_Var2;\n  _Rb_tree_node_base *p_Var3;\n  \n  if (this->object_count_ < 2) {\n    for (p_Var3 = (this->views_)._M_t._M_impl.super__Rb_tree_header._M_header._M_left;\n        (_Rb_tree_header *)p_Var3 != &(this->views_)._M_t._M_impl.super__Rb_tree_header;\n        p_Var3 = (_Rb_tree_node_base *)std::_Rb_tree_increment(p_Var3)) {\n      *(undefined1 *)&p_Var3[1]._M_right[1]._M_left = 0;\n    }\n    p_Var2 = (this->saved_views_).\n             super__List_base<gold::File_read::View*,_std::allocator<gold::File_read::View*>_>.\n             _M_impl._M_node.super__List_node_base._M_next;\n    while (p_Var2 != (_List_node_base *)&this->saved_views_) {\n      p_Var1 = p_Var2 + 1;\n      p_Var2 = p_Var2->_M_next;\n      *(undefined1 *)&p_Var1->_M_next[3]._M_next = 0;\n    }\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::File_read::" identifier : : identifier : :) (function_declarator "clear_view_cache_marks(File_read *this)" identifier (parameter_list "(File_read *this)" ( (parameter_declaration "File_read *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  _List_node_base *p_Var1;\n  _List_node_base *p_Var2;\n  _Rb_tree_node_base *p_Var3;\n  \n  if (this->object_count_ < 2) {\n    for (p_Var3 = (this->views_)._M_t._M_impl.super__Rb_tree_header._M_header._M_left;\n        (_Rb_tree_header *)p_Var3 != &(this->views_)._M_t._M_impl.super__Rb_tree_header;\n        p_Var3 = (_Rb_tree_node_base *)std::_Rb_tree_increment(p_Var3)) {\n      *(undefined1 *)&p_Var3[1]._M_right[1]._M_left = 0;\n    }\n    p_Var2 = (this->saved_views_).\n             super__List_base<gold::File_read::View*,_std::allocator<gold::File_read::View*>_>.\n             _M_impl._M_node.super__List_node_base._M_next;\n    while (p_Var2 != (_List_node_base *)&this->saved_views_) {\n      p_Var1 = p_Var2 + 1;\n      p_Var2 = p_Var2->_M_next;\n      *(undefined1 *)&p_Var1->_M_next[3]._M_next = 0;\n    }\n  }\n  return;\n}" { (declaration "_List_node_base *p_Var1;" type_identifier (pointer_declarator "*p_Var1" * identifier) ;) (declaration "_List_node_base *p_Var2;" type_identifier (pointer_declarator "*p_Var2" * identifier) ;) (declaration "_Rb_tree_node_base *p_Var3;" type_identifier (pointer_declarator "*p_Var3" * identifier) ;) (if_statement "if (this->object_count_ < 2) {\n    for (p_Var3 = (this->views_)._M_t._M_impl.super__Rb_tree_header._M_header._M_left;\n        (_Rb_tree_header *)p_Var3 != &(this->views_)._M_t._M_impl.super__Rb_tree_header;\n        p_Var3 = (_Rb_tree_node_base *)std::_Rb_tree_increment(p_Var3)) {\n      *(undefined1 *)&p_Var3[1]._M_right[1]._M_left = 0;\n    }\n    p_Var2 = (this->saved_views_).\n             super__List_base<gold::File_read::View*,_std::allocator<gold::File_read::View*>_>.\n             _M_impl._M_node.super__List_node_base._M_next;\n    while (p_Var2 != (_List_node_base *)&this->saved_views_) {\n      p_Var1 = p_Var2 + 1;\n      p_Var2 = p_Var2->_M_next;\n      *(undefined1 *)&p_Var1->_M_next[3]._M_next = 0;\n    }\n  }" if (parenthesized_expression "(this->object_count_ < 2)" ( (binary_expression "this->object_count_ < 2" (field_expression "this->object_count_" identifier -> field_identifier) < number_literal) )) (compound_statement "{\n    for (p_Var3 = (this->views_)._M_t._M_impl.super__Rb_tree_header._M_header._M_left;\n        (_Rb_tree_header *)p_Var3 != &(this->views_)._M_t._M_impl.super__Rb_tree_header;\n        p_Var3 = (_Rb_tree_node_base *)std::_Rb_tree_increment(p_Var3)) {\n      *(undefined1 *)&p_Var3[1]._M_right[1]._M_left = 0;\n    }\n    p_Var2 = (this->saved_views_).\n             super__List_base<gold::File_read::View*,_std::allocator<gold::File_read::View*>_>.\n             _M_impl._M_node.super__List_node_base._M_next;\n    while (p_Var2 != (_List_node_base *)&this->saved_views_) {\n      p_Var1 = p_Var2 + 1;\n      p_Var2 = p_Var2->_M_next;\n      *(undefined1 *)&p_Var1->_M_next[3]._M_next = 0;\n    }\n  }" { (for_statement "for (p_Var3 = (this->views_)._M_t._M_impl.super__Rb_tree_header._M_header._M_left;\n        (_Rb_tree_header *)p_Var3 != &(this->views_)._M_t._M_impl.super__Rb_tree_header;\n        p_Var3 = (_Rb_tree_node_base *)std::_Rb_tree_increment(p_Var3)) {\n      *(undefined1 *)&p_Var3[1]._M_right[1]._M_left = 0;\n    }" for ( (assignment_expression "p_Var3 = (this->views_)._M_t._M_impl.super__Rb_tree_header._M_header._M_left" identifier = (field_expression "(this->views_)._M_t._M_impl.super__Rb_tree_header._M_header._M_left" (field_expression "(this->views_)._M_t._M_impl.super__Rb_tree_header._M_header" (field_expression "(this->views_)._M_t._M_impl.super__Rb_tree_header" (field_expression "(this->views_)._M_t._M_impl" (field_expression "(this->views_)._M_t" (parenthesized_expression "(this->views_)" ( (field_expression "this->views_" identifier -> field_identifier) )) . field_identifier) . field_identifier) . field_identifier) . field_identifier) . field_identifier)) ; (binary_expression "(_Rb_tree_header *)p_Var3 != &(this->views_)._M_t._M_impl.super__Rb_tree_header" (cast_expression "(_Rb_tree_header *)p_Var3" ( (type_descriptor "_Rb_tree_header *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) != (pointer_expression "&(this->views_)._M_t._M_impl.super__Rb_tree_header" & (field_expression "(this->views_)._M_t._M_impl.super__Rb_tree_header" (field_expression "(this->views_)._M_t._M_impl" (field_expression "(this->views_)._M_t" (parenthesized_expression "(this->views_)" ( (field_expression "this->views_" identifier -> field_identifier) )) . field_identifier) . field_identifier) . field_identifier))) ; (ERROR "p_Var3 = (_Rb_tree_node_base *)std::" (assignment_expression "p_Var3 = (_Rb_tree_node_base *)std" identifier = (cast_expression "(_Rb_tree_node_base *)std" ( (type_descriptor "_Rb_tree_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) : :) (call_expression "_Rb_tree_increment(p_Var3)" identifier (argument_list "(p_Var3)" ( identifier ))) ) (compound_statement "{\n      *(undefined1 *)&p_Var3[1]._M_right[1]._M_left = 0;\n    }" { (expression_statement "*(undefined1 *)&p_Var3[1]._M_right[1]._M_left = 0;" (assignment_expression "*(undefined1 *)&p_Var3[1]._M_right[1]._M_left = 0" (pointer_expression "*(undefined1 *)&p_Var3[1]._M_right[1]._M_left" * (cast_expression "(undefined1 *)&p_Var3[1]._M_right[1]._M_left" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&p_Var3[1]._M_right[1]._M_left" & (field_expression "p_Var3[1]._M_right[1]._M_left" (subscript_expression "p_Var3[1]._M_right[1]" (field_expression "p_Var3[1]._M_right" (subscript_expression "p_Var3[1]" identifier [ number_literal ]) . field_identifier) [ number_literal ]) . field_identifier)))) = number_literal) ;) })) (ERROR "p_Var2 = (this->saved_views_).\n             super__List_base<gold::File_read::View*,_std::allocator<gold::" (assignment_expression "p_Var2 = (this->saved_views_).\n             super__List_base<gold" identifier = (binary_expression "(this->saved_views_).\n             super__List_base<gold" (field_expression "(this->saved_views_).\n             super__List_base" (parenthesized_expression "(this->saved_views_)" ( (field_expression "this->saved_views_" identifier -> field_identifier) )) . field_identifier) < identifier)) : : (comma_expression "File_read::View*,_std" identifier (ERROR "::View*" : : identifier *) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : :) (expression_statement "File_read::View*>_>.\n             _M_impl._M_node.super__List_node_base._M_next;" (field_expression "File_read::View*>_>.\n             _M_impl._M_node.super__List_node_base._M_next" (field_expression "File_read::View*>_>.\n             _M_impl._M_node.super__List_node_base" (field_expression "File_read::View*>_>.\n             _M_impl._M_node" (field_expression "File_read::View*>_>.\n             _M_impl" (binary_expression "File_read::View*>_" identifier (ERROR "::View*" : : identifier *) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) . field_identifier) . field_identifier) ;) (while_statement "while (p_Var2 != (_List_node_base *)&this->saved_views_) {\n      p_Var1 = p_Var2 + 1;\n      p_Var2 = p_Var2->_M_next;\n      *(undefined1 *)&p_Var1->_M_next[3]._M_next = 0;\n    }" while (parenthesized_expression "(p_Var2 != (_List_node_base *)&this->saved_views_)" ( (binary_expression "p_Var2 != (_List_node_base *)&this->saved_views_" identifier != (cast_expression "(_List_node_base *)&this->saved_views_" ( (type_descriptor "_List_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&this->saved_views_" & (field_expression "this->saved_views_" identifier -> field_identifier)))) )) (compound_statement "{\n      p_Var1 = p_Var2 + 1;\n      p_Var2 = p_Var2->_M_next;\n      *(undefined1 *)&p_Var1->_M_next[3]._M_next = 0;\n    }" { (expression_statement "p_Var1 = p_Var2 + 1;" (assignment_expression "p_Var1 = p_Var2 + 1" identifier = (binary_expression "p_Var2 + 1" identifier + number_literal)) ;) (expression_statement "p_Var2 = p_Var2->_M_next;" (assignment_expression "p_Var2 = p_Var2->_M_next" identifier = (field_expression "p_Var2->_M_next" identifier -> field_identifier)) ;) (expression_statement "*(undefined1 *)&p_Var1->_M_next[3]._M_next = 0;" (assignment_expression "*(undefined1 *)&p_Var1->_M_next[3]._M_next = 0" (pointer_expression "*(undefined1 *)&p_Var1->_M_next[3]._M_next" * (cast_expression "(undefined1 *)&p_Var1->_M_next[3]._M_next" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&p_Var1->_M_next[3]._M_next" & (field_expression "p_Var1->_M_next[3]._M_next" (subscript_expression "p_Var1->_M_next[3]" (field_expression "p_Var1->_M_next" identifier -> field_identifier) [ number_literal ]) . field_identifier)))) = number_literal) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000675f0(int param_1)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n  if (*(int *)(param_1 + 0x20) < 2) {\n    for (iVar3 = *(int *)(param_1 + 0x4c); iVar3 != param_1 + 0x44; iVar3 = FUN_001e8390(iVar3)) {\n      *(undefined1 *)(*(int *)(iVar3 + 0x1c) + 0x18) = 0;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x58);\n    while (puVar2 != (undefined4 *)(param_1 + 0x58)) {\n      piVar1 = puVar2 + 2;\n      puVar2 = (undefined4 *)*puVar2;\n      *(undefined1 *)(*piVar1 + 0x18) = 0;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_000675f0(int param_1)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n  if (*(int *)(param_1 + 0x20) < 2) {\n    for (iVar3 = *(int *)(param_1 + 0x4c); iVar3 != param_1 + 0x44; iVar3 = FUN_001e8390(iVar3)) {\n      *(undefined1 *)(*(int *)(iVar3 + 0x1c) + 0x18) = 0;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x58);\n    while (puVar2 != (undefined4 *)(param_1 + 0x58)) {\n      piVar1 = puVar2 + 2;\n      puVar2 = (undefined4 *)*puVar2;\n      *(undefined1 *)(*piVar1 + 0x18) = 0;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000675f0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n  if (*(int *)(param_1 + 0x20) < 2) {\n    for (iVar3 = *(int *)(param_1 + 0x4c); iVar3 != param_1 + 0x44; iVar3 = FUN_001e8390(iVar3)) {\n      *(undefined1 *)(*(int *)(iVar3 + 0x1c) + 0x18) = 0;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x58);\n    while (puVar2 != (undefined4 *)(param_1 + 0x58)) {\n      piVar1 = puVar2 + 2;\n      puVar2 = (undefined4 *)*puVar2;\n      *(undefined1 *)(*piVar1 + 0x18) = 0;\n    }\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if (*(int *)(param_1 + 0x20) < 2) {\n    for (iVar3 = *(int *)(param_1 + 0x4c); iVar3 != param_1 + 0x44; iVar3 = FUN_001e8390(iVar3)) {\n      *(undefined1 *)(*(int *)(iVar3 + 0x1c) + 0x18) = 0;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x58);\n    while (puVar2 != (undefined4 *)(param_1 + 0x58)) {\n      piVar1 = puVar2 + 2;\n      puVar2 = (undefined4 *)*puVar2;\n      *(undefined1 *)(*piVar1 + 0x18) = 0;\n    }\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x20) < 2)" ( (binary_expression "*(int *)(param_1 + 0x20) < 2" (pointer_expression "*(int *)(param_1 + 0x20)" * (cast_expression "(int *)(param_1 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) < number_literal) )) (compound_statement "{\n    for (iVar3 = *(int *)(param_1 + 0x4c); iVar3 != param_1 + 0x44; iVar3 = FUN_001e8390(iVar3)) {\n      *(undefined1 *)(*(int *)(iVar3 + 0x1c) + 0x18) = 0;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x58);\n    while (puVar2 != (undefined4 *)(param_1 + 0x58)) {\n      piVar1 = puVar2 + 2;\n      puVar2 = (undefined4 *)*puVar2;\n      *(undefined1 *)(*piVar1 + 0x18) = 0;\n    }\n  }" { (for_statement "for (iVar3 = *(int *)(param_1 + 0x4c); iVar3 != param_1 + 0x44; iVar3 = FUN_001e8390(iVar3)) {\n      *(undefined1 *)(*(int *)(iVar3 + 0x1c) + 0x18) = 0;\n    }" for ( (assignment_expression "iVar3 = *(int *)(param_1 + 0x4c)" identifier = (pointer_expression "*(int *)(param_1 + 0x4c)" * (cast_expression "(int *)(param_1 + 0x4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x4c)" ( (binary_expression "param_1 + 0x4c" identifier + number_literal) ))))) ; (binary_expression "iVar3 != param_1 + 0x44" identifier != (binary_expression "param_1 + 0x44" identifier + number_literal)) ; (assignment_expression "iVar3 = FUN_001e8390(iVar3)" identifier = (call_expression "FUN_001e8390(iVar3)" identifier (argument_list "(iVar3)" ( identifier )))) ) (compound_statement "{\n      *(undefined1 *)(*(int *)(iVar3 + 0x1c) + 0x18) = 0;\n    }" { (expression_statement "*(undefined1 *)(*(int *)(iVar3 + 0x1c) + 0x18) = 0;" (assignment_expression "*(undefined1 *)(*(int *)(iVar3 + 0x1c) + 0x18) = 0" (pointer_expression "*(undefined1 *)(*(int *)(iVar3 + 0x1c) + 0x18)" * (cast_expression "(undefined1 *)(*(int *)(iVar3 + 0x1c) + 0x18)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar3 + 0x1c) + 0x18)" ( (binary_expression "*(int *)(iVar3 + 0x1c) + 0x18" (pointer_expression "*(int *)(iVar3 + 0x1c)" * (cast_expression "(int *)(iVar3 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1c)" ( (binary_expression "iVar3 + 0x1c" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) })) (expression_statement "puVar2 = *(undefined4 **)(param_1 + 0x58);" (assignment_expression "puVar2 = *(undefined4 **)(param_1 + 0x58)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x58)" * (cast_expression "(undefined4 **)(param_1 + 0x58)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) ))))) ;) (while_statement "while (puVar2 != (undefined4 *)(param_1 + 0x58)) {\n      piVar1 = puVar2 + 2;\n      puVar2 = (undefined4 *)*puVar2;\n      *(undefined1 *)(*piVar1 + 0x18) = 0;\n    }" while (parenthesized_expression "(puVar2 != (undefined4 *)(param_1 + 0x58))" ( (binary_expression "puVar2 != (undefined4 *)(param_1 + 0x58)" identifier != (cast_expression "(undefined4 *)(param_1 + 0x58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) )))) )) (compound_statement "{\n      piVar1 = puVar2 + 2;\n      puVar2 = (undefined4 *)*puVar2;\n      *(undefined1 *)(*piVar1 + 0x18) = 0;\n    }" { (expression_statement "piVar1 = puVar2 + 2;" (assignment_expression "piVar1 = puVar2 + 2" identifier = (binary_expression "puVar2 + 2" identifier + number_literal)) ;) (expression_statement "puVar2 = (undefined4 *)*puVar2;" (assignment_expression "puVar2 = (undefined4 *)*puVar2" identifier = (cast_expression "(undefined4 *)*puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) ;) (expression_statement "*(undefined1 *)(*piVar1 + 0x18) = 0;" (assignment_expression "*(undefined1 *)(*piVar1 + 0x18) = 0" (pointer_expression "*(undefined1 *)(*piVar1 + 0x18)" * (cast_expression "(undefined1 *)(*piVar1 + 0x18)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar1 + 0x18)" ( (binary_expression "*piVar1 + 0x18" (pointer_expression "*piVar1" * identifier) + number_literal) )))) = number_literal) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < LIT) )) (compound_statement { (for_statement for ( (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ; (binary_expression IDENT != (binary_expression IDENT + LIT)) ; (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = LIT) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) = LIT) ;) })) })) (return_statement return ;) })))
(function_definition "void FUN_000675f0(int param_1)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n  if (*(int *)(param_1 + 0x20) < 2) {\n    for (iVar3 = *(int *)(param_1 + 0x4c); iVar3 != param_1 + 0x44; iVar3 = FUN_001e8390(iVar3)) {\n      *(undefined1 *)(*(int *)(iVar3 + 0x1c) + 0x18) = 0;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x58);\n    while (puVar2 != (undefined4 *)(param_1 + 0x58)) {\n      piVar1 = puVar2 + 2;\n      puVar2 = (undefined4 *)*puVar2;\n      *(undefined1 *)(*piVar1 + 0x18) = 0;\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000675f0(int param_1)" (identifier "FUN_000675f0") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int *piVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n  if (*(int *)(param_1 + 0x20) < 2) {\n    for (iVar3 = *(int *)(param_1 + 0x4c); iVar3 != param_1 + 0x44; iVar3 = FUN_001e8390(iVar3)) {\n      *(undefined1 *)(*(int *)(iVar3 + 0x1c) + 0x18) = 0;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x58);\n    while (puVar2 != (undefined4 *)(param_1 + 0x58)) {\n      piVar1 = puVar2 + 2;\n      puVar2 = (undefined4 *)*puVar2;\n      *(undefined1 *)(*piVar1 + 0x18) = 0;\n    }\n  }\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (if_statement "if (*(int *)(param_1 + 0x20) < 2) {\n    for (iVar3 = *(int *)(param_1 + 0x4c); iVar3 != param_1 + 0x44; iVar3 = FUN_001e8390(iVar3)) {\n      *(undefined1 *)(*(int *)(iVar3 + 0x1c) + 0x18) = 0;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x58);\n    while (puVar2 != (undefined4 *)(param_1 + 0x58)) {\n      piVar1 = puVar2 + 2;\n      puVar2 = (undefined4 *)*puVar2;\n      *(undefined1 *)(*piVar1 + 0x18) = 0;\n    }\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x20) < 2)" (( "(") (binary_expression "*(int *)(param_1 + 0x20) < 2" (pointer_expression "*(int *)(param_1 + 0x20)" (* "*") (cast_expression "(int *)(param_1 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) (< "<") (number_literal "2")) () ")")) (compound_statement "{\n    for (iVar3 = *(int *)(param_1 + 0x4c); iVar3 != param_1 + 0x44; iVar3 = FUN_001e8390(iVar3)) {\n      *(undefined1 *)(*(int *)(iVar3 + 0x1c) + 0x18) = 0;\n    }\n    puVar2 = *(undefined4 **)(param_1 + 0x58);\n    while (puVar2 != (undefined4 *)(param_1 + 0x58)) {\n      piVar1 = puVar2 + 2;\n      puVar2 = (undefined4 *)*puVar2;\n      *(undefined1 *)(*piVar1 + 0x18) = 0;\n    }\n  }" ({ "{") (for_statement "for (iVar3 = *(int *)(param_1 + 0x4c); iVar3 != param_1 + 0x44; iVar3 = FUN_001e8390(iVar3)) {\n      *(undefined1 *)(*(int *)(iVar3 + 0x1c) + 0x18) = 0;\n    }" (for "for") (( "(") (assignment_expression "iVar3 = *(int *)(param_1 + 0x4c)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_1 + 0x4c)" (* "*") (cast_expression "(int *)(param_1 + 0x4c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x4c)" (( "(") (binary_expression "param_1 + 0x4c" (identifier "param_1") (+ "+") (number_literal "0x4c")) () ")"))))) (; ";") (binary_expression "iVar3 != param_1 + 0x44" (identifier "iVar3") (!= "!=") (binary_expression "param_1 + 0x44" (identifier "param_1") (+ "+") (number_literal "0x44"))) (; ";") (assignment_expression "iVar3 = FUN_001e8390(iVar3)" (identifier "iVar3") (= "=") (call_expression "FUN_001e8390(iVar3)" (identifier "FUN_001e8390") (argument_list "(iVar3)" (( "(") (identifier "iVar3") () ")")))) () ")") (compound_statement "{\n      *(undefined1 *)(*(int *)(iVar3 + 0x1c) + 0x18) = 0;\n    }" ({ "{") (expression_statement "*(undefined1 *)(*(int *)(iVar3 + 0x1c) + 0x18) = 0;" (assignment_expression "*(undefined1 *)(*(int *)(iVar3 + 0x1c) + 0x18) = 0" (pointer_expression "*(undefined1 *)(*(int *)(iVar3 + 0x1c) + 0x18)" (* "*") (cast_expression "(undefined1 *)(*(int *)(iVar3 + 0x1c) + 0x18)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar3 + 0x1c) + 0x18)" (( "(") (binary_expression "*(int *)(iVar3 + 0x1c) + 0x18" (pointer_expression "*(int *)(iVar3 + 0x1c)" (* "*") (cast_expression "(int *)(iVar3 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x1c)" (( "(") (binary_expression "iVar3 + 0x1c" (identifier "iVar3") (+ "+") (number_literal "0x1c")) () ")")))) (+ "+") (number_literal "0x18")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "puVar2 = *(undefined4 **)(param_1 + 0x58);" (assignment_expression "puVar2 = *(undefined4 **)(param_1 + 0x58)" (identifier "puVar2") (= "=") (pointer_expression "*(undefined4 **)(param_1 + 0x58)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x58)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x58)" (( "(") (binary_expression "param_1 + 0x58" (identifier "param_1") (+ "+") (number_literal "0x58")) () ")"))))) (; ";")) (while_statement "while (puVar2 != (undefined4 *)(param_1 + 0x58)) {\n      piVar1 = puVar2 + 2;\n      puVar2 = (undefined4 *)*puVar2;\n      *(undefined1 *)(*piVar1 + 0x18) = 0;\n    }" (while "while") (parenthesized_expression "(puVar2 != (undefined4 *)(param_1 + 0x58))" (( "(") (binary_expression "puVar2 != (undefined4 *)(param_1 + 0x58)" (identifier "puVar2") (!= "!=") (cast_expression "(undefined4 *)(param_1 + 0x58)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x58)" (( "(") (binary_expression "param_1 + 0x58" (identifier "param_1") (+ "+") (number_literal "0x58")) () ")")))) () ")")) (compound_statement "{\n      piVar1 = puVar2 + 2;\n      puVar2 = (undefined4 *)*puVar2;\n      *(undefined1 *)(*piVar1 + 0x18) = 0;\n    }" ({ "{") (expression_statement "piVar1 = puVar2 + 2;" (assignment_expression "piVar1 = puVar2 + 2" (identifier "piVar1") (= "=") (binary_expression "puVar2 + 2" (identifier "puVar2") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "puVar2 = (undefined4 *)*puVar2;" (assignment_expression "puVar2 = (undefined4 *)*puVar2" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)*puVar2" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar2" (* "*") (identifier "puVar2")))) (; ";")) (expression_statement "*(undefined1 *)(*piVar1 + 0x18) = 0;" (assignment_expression "*(undefined1 *)(*piVar1 + 0x18) = 0" (pointer_expression "*(undefined1 *)(*piVar1 + 0x18)" (* "*") (cast_expression "(undefined1 *)(*piVar1 + 0x18)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar1 + 0x18)" (( "(") (binary_expression "*piVar1 + 0x18" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "0x18")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Type propagation algorithm not settling */
/* DWARF original prototype: void clear_view_cache_marks(File_read * this) */

void __thiscall gold::type_1::function_1(type_1 *this)

{
  type_2 *p_Var1;
  type_2 *var_3;
  type_3 *p_Var3;
  
  if (this->object_count_ < 2) {
    for (p_Var3 = (this->views_)._M_t._M_impl.super__Rb_tree_header._M_header._M_left;
        (type_4 *)p_Var3 != &(this->views_)._M_t._M_impl.super__Rb_tree_header;
        p_Var3 = (type_3 *)std::var_1(p_Var3)) {
      *(type_5 *)&p_Var3[1]._M_right[1]._M_left = 0;
    }
    var_3 = (this->saved_views_).
             super__List_base<gold::type_1::View*,_std::allocator<gold::type_1::View*>var_2>.
             _M_impl._M_node.super__List_node_base._M_next;
    while (var_3 != (type_2 *)&this->saved_views_) {
      p_Var1 = var_3 + 1;
      var_3 = var_3->_M_next;
      *(type_5 *)&p_Var1->_M_next[3]._M_next = 0;
    }
  }
  return;
}


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

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

void MASKED(int param_1)

{
  int *piVar1;
  undefined4 *puVar2;
  int iVar3;
  
  if (*(int *)(param_1 + 0x20) < 2) {
    for (iVar3 = *(int *)(param_1 + 0x4c); iVar3 != param_1 + 0x44; iVar3 = FUN_001e8390(iVar3)) {
      *(undefined1 *)(*(int *)(iVar3 + 0x1c) + 0x18) = 0;
    }
    puVar2 = *(undefined4 **)(param_1 + 0x58);
    while (puVar2 != (undefined4 *)(param_1 + 0x58)) {
      piVar1 = puVar2 + 2;
      puVar2 = (undefined4 *)*puVar2;
      *(undefined1 *)(*piVar1 + 0x18) = 0;
    }
  }
  return;
}

