
void set_filter_pattern(char *pattern,int search_type)

{
  void **pattern_00;
  
  clr_filter();
  if ((pattern == (char *)0x0) || (*pattern == '\0')) {
    if (*(int *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) != 0) {
      (*(code *)PTR_free_00050390)();
    }
    pattern_00 = (void **)(PTR_PTR_homefile_0004fbf8 + 0x42a0);
    *(undefined4 *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) = 0;
    uncompile_pattern(pattern_00);
  }
  else {
    set_pattern((pattern_info *)(PTR_PTR_homefile_0004fbf8 + 0x42a0),pattern,search_type);
  }
  *(undefined4 *)PTR_screen_trashed_0004fdd8 = 1;
  return;
}



void set_filter_pattern(char *param_1,undefined4 param_2)

{
  clr_filter();
  if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {
    if (*(int *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) != 0) {
      (*(code *)PTR_free_00050390)();
    }
    *(undefined4 *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) = 0;
    uncompile_pattern();
  }
  else {
    FUN_000328c4(PTR_PTR_homefile_0004fbf8 + 0x42a0,param_1,param_2);
  }
  *(undefined4 *)PTR_screen_trashed_0004fdd8 = 1;
  return;
}


lui gp,0x2
addiu gp,gp,0x3c30
addu gp,gp,t9
addiu sp,sp,-0x28
sw ra,0x24(sp)
sw s1,0x20(sp)
sw s0,0x1c(sp)
sw gp,0x10(sp)
or s0,a0,zero
or s1,a1,zero
lw t9,-0x7984(gp)
bal 0x00033268
_nop
lw gp,0x10(sp)
beq s0,zero,0x00033ff0
_lw v0,-0x7fd8(gp)
lb v0,0x0(s0)
bne v0,zero,0x00034044
_or a2,s1,zero
lw v0,-0x7fd8(gp)
lw a0,0x42a4(v0)
beq a0,zero,0x00034008
_lw t9,-0x7840(gp)
jalr t9
_nop
lw gp,0x10(sp)
lw a0,-0x7fd8(gp)
addiu a0,a0,0x42a0
sw zero,0x4(a0)
lw t9,-0x79b4(gp)
bal 0x000305c4
_nop
lw gp,0x10(sp)
lw v0,-0x7df8(gp)
li v1,0x1
sw v1,0x0(v0)
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
or a1,s0,zero
lw a0,-0x7fd8(gp)
addiu a0,a0,0x42a0
lw t9,-0x7fc8(gp)
addiu t9,t9,0x28c4
bal 0x000328c4
_nop
lw gp,0x10(sp)
b 0x00034028
_lw v0,-0x7df8(gp)
(translation_unit "void set_filter_pattern(char *param_1,undefined4 param_2)\n\n{\n  clr_filter();\n  if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {\n    if (*(int *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) != 0) {\n      (*(code *)PTR_free_00050390)();\n    }\n    *(undefined4 *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) = 0;\n    uncompile_pattern();\n  }\n  else {\n    FUN_000328c4(PTR_PTR_homefile_0004fbf8 + 0x42a0,param_1,param_2);\n  }\n  *(undefined4 *)PTR_screen_trashed_0004fdd8 = 1;\n  return;\n}\n\n" (function_definition "void set_filter_pattern(char *param_1,undefined4 param_2)\n\n{\n  clr_filter();\n  if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {\n    if (*(int *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) != 0) {\n      (*(code *)PTR_free_00050390)();\n    }\n    *(undefined4 *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) = 0;\n    uncompile_pattern();\n  }\n  else {\n    FUN_000328c4(PTR_PTR_homefile_0004fbf8 + 0x42a0,param_1,param_2);\n  }\n  *(undefined4 *)PTR_screen_trashed_0004fdd8 = 1;\n  return;\n}" primitive_type (function_declarator "set_filter_pattern(char *param_1,undefined4 param_2)" identifier (parameter_list "(char *param_1,undefined4 param_2)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  clr_filter();\n  if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {\n    if (*(int *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) != 0) {\n      (*(code *)PTR_free_00050390)();\n    }\n    *(undefined4 *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) = 0;\n    uncompile_pattern();\n  }\n  else {\n    FUN_000328c4(PTR_PTR_homefile_0004fbf8 + 0x42a0,param_1,param_2);\n  }\n  *(undefined4 *)PTR_screen_trashed_0004fdd8 = 1;\n  return;\n}" { (expression_statement "clr_filter();" (call_expression "clr_filter()" identifier (argument_list "()" ( ))) ;) (if_statement "if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {\n    if (*(int *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) != 0) {\n      (*(code *)PTR_free_00050390)();\n    }\n    *(undefined4 *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) = 0;\n    uncompile_pattern();\n  }\n  else {\n    FUN_000328c4(PTR_PTR_homefile_0004fbf8 + 0x42a0,param_1,param_2);\n  }" if (parenthesized_expression "((param_1 == (char *)0x0) || (*param_1 == '\0'))" ( (binary_expression "(param_1 == (char *)0x0) || (*param_1 == '\0')" (parenthesized_expression "(param_1 == (char *)0x0)" ( (binary_expression "param_1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(*param_1 == '\0')" ( (binary_expression "*param_1 == '\0'" (pointer_expression "*param_1" * identifier) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    if (*(int *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) != 0) {\n      (*(code *)PTR_free_00050390)();\n    }\n    *(undefined4 *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) = 0;\n    uncompile_pattern();\n  }" { (if_statement "if (*(int *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) != 0) {\n      (*(code *)PTR_free_00050390)();\n    }" if (parenthesized_expression "(*(int *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) != 0)" ( (binary_expression "*(int *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) != 0" (pointer_expression "*(int *)(PTR_PTR_homefile_0004fbf8 + 0x42a4)" * (cast_expression "(int *)(PTR_PTR_homefile_0004fbf8 + 0x42a4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_PTR_homefile_0004fbf8 + 0x42a4)" ( (binary_expression "PTR_PTR_homefile_0004fbf8 + 0x42a4" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      (*(code *)PTR_free_00050390)();\n    }" { (expression_statement "(*(code *)PTR_free_00050390)();" (call_expression "(*(code *)PTR_free_00050390)()" (parenthesized_expression "(*(code *)PTR_free_00050390)" ( (pointer_expression "*(code *)PTR_free_00050390" * (cast_expression "(code *)PTR_free_00050390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "*(undefined4 *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) = 0;" (assignment_expression "*(undefined4 *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) = 0" (pointer_expression "*(undefined4 *)(PTR_PTR_homefile_0004fbf8 + 0x42a4)" * (cast_expression "(undefined4 *)(PTR_PTR_homefile_0004fbf8 + 0x42a4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_PTR_homefile_0004fbf8 + 0x42a4)" ( (binary_expression "PTR_PTR_homefile_0004fbf8 + 0x42a4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uncompile_pattern();" (call_expression "uncompile_pattern()" identifier (argument_list "()" ( ))) ;) }) (else_clause "else {\n    FUN_000328c4(PTR_PTR_homefile_0004fbf8 + 0x42a0,param_1,param_2);\n  }" else (compound_statement "{\n    FUN_000328c4(PTR_PTR_homefile_0004fbf8 + 0x42a0,param_1,param_2);\n  }" { (expression_statement "FUN_000328c4(PTR_PTR_homefile_0004fbf8 + 0x42a0,param_1,param_2);" (call_expression "FUN_000328c4(PTR_PTR_homefile_0004fbf8 + 0x42a0,param_1,param_2)" identifier (argument_list "(PTR_PTR_homefile_0004fbf8 + 0x42a0,param_1,param_2)" ( (binary_expression "PTR_PTR_homefile_0004fbf8 + 0x42a0" identifier + number_literal) , identifier , identifier ))) ;) }))) (expression_statement "*(undefined4 *)PTR_screen_trashed_0004fdd8 = 1;" (assignment_expression "*(undefined4 *)PTR_screen_trashed_0004fdd8 = 1" (pointer_expression "*(undefined4 *)PTR_screen_trashed_0004fdd8" * (cast_expression "(undefined4 *)PTR_screen_trashed_0004fdd8" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void set_filter_pattern(char *pattern,int search_type)\n\n{\n  void **pattern_00;\n  \n  clr_filter();\n  if ((pattern == (char *)0x0) || (*pattern == '\0')) {\n    if (*(int *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) != 0) {\n      (*(code *)PTR_free_00050390)();\n    }\n    pattern_00 = (void **)(PTR_PTR_homefile_0004fbf8 + 0x42a0);\n    *(undefined4 *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) = 0;\n    uncompile_pattern(pattern_00);\n  }\n  else {\n    set_pattern((pattern_info *)(PTR_PTR_homefile_0004fbf8 + 0x42a0),pattern,search_type);\n  }\n  *(undefined4 *)PTR_screen_trashed_0004fdd8 = 1;\n  return;\n}\n\n" (function_definition "void set_filter_pattern(char *pattern,int search_type)\n\n{\n  void **pattern_00;\n  \n  clr_filter();\n  if ((pattern == (char *)0x0) || (*pattern == '\0')) {\n    if (*(int *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) != 0) {\n      (*(code *)PTR_free_00050390)();\n    }\n    pattern_00 = (void **)(PTR_PTR_homefile_0004fbf8 + 0x42a0);\n    *(undefined4 *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) = 0;\n    uncompile_pattern(pattern_00);\n  }\n  else {\n    set_pattern((pattern_info *)(PTR_PTR_homefile_0004fbf8 + 0x42a0),pattern,search_type);\n  }\n  *(undefined4 *)PTR_screen_trashed_0004fdd8 = 1;\n  return;\n}" primitive_type (function_declarator "set_filter_pattern(char *pattern,int search_type)" identifier (parameter_list "(char *pattern,int search_type)" ( (parameter_declaration "char *pattern" primitive_type (pointer_declarator "*pattern" * identifier)) , (parameter_declaration "int search_type" primitive_type identifier) ))) (compound_statement "{\n  void **pattern_00;\n  \n  clr_filter();\n  if ((pattern == (char *)0x0) || (*pattern == '\0')) {\n    if (*(int *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) != 0) {\n      (*(code *)PTR_free_00050390)();\n    }\n    pattern_00 = (void **)(PTR_PTR_homefile_0004fbf8 + 0x42a0);\n    *(undefined4 *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) = 0;\n    uncompile_pattern(pattern_00);\n  }\n  else {\n    set_pattern((pattern_info *)(PTR_PTR_homefile_0004fbf8 + 0x42a0),pattern,search_type);\n  }\n  *(undefined4 *)PTR_screen_trashed_0004fdd8 = 1;\n  return;\n}" { (declaration "void **pattern_00;" primitive_type (pointer_declarator "**pattern_00" * (pointer_declarator "*pattern_00" * identifier)) ;) (expression_statement "clr_filter();" (call_expression "clr_filter()" identifier (argument_list "()" ( ))) ;) (if_statement "if ((pattern == (char *)0x0) || (*pattern == '\0')) {\n    if (*(int *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) != 0) {\n      (*(code *)PTR_free_00050390)();\n    }\n    pattern_00 = (void **)(PTR_PTR_homefile_0004fbf8 + 0x42a0);\n    *(undefined4 *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) = 0;\n    uncompile_pattern(pattern_00);\n  }\n  else {\n    set_pattern((pattern_info *)(PTR_PTR_homefile_0004fbf8 + 0x42a0),pattern,search_type);\n  }" if (parenthesized_expression "((pattern == (char *)0x0) || (*pattern == '\0'))" ( (binary_expression "(pattern == (char *)0x0) || (*pattern == '\0')" (parenthesized_expression "(pattern == (char *)0x0)" ( (binary_expression "pattern == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(*pattern == '\0')" ( (binary_expression "*pattern == '\0'" (pointer_expression "*pattern" * identifier) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    if (*(int *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) != 0) {\n      (*(code *)PTR_free_00050390)();\n    }\n    pattern_00 = (void **)(PTR_PTR_homefile_0004fbf8 + 0x42a0);\n    *(undefined4 *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) = 0;\n    uncompile_pattern(pattern_00);\n  }" { (if_statement "if (*(int *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) != 0) {\n      (*(code *)PTR_free_00050390)();\n    }" if (parenthesized_expression "(*(int *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) != 0)" ( (binary_expression "*(int *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) != 0" (pointer_expression "*(int *)(PTR_PTR_homefile_0004fbf8 + 0x42a4)" * (cast_expression "(int *)(PTR_PTR_homefile_0004fbf8 + 0x42a4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_PTR_homefile_0004fbf8 + 0x42a4)" ( (binary_expression "PTR_PTR_homefile_0004fbf8 + 0x42a4" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      (*(code *)PTR_free_00050390)();\n    }" { (expression_statement "(*(code *)PTR_free_00050390)();" (call_expression "(*(code *)PTR_free_00050390)()" (parenthesized_expression "(*(code *)PTR_free_00050390)" ( (pointer_expression "*(code *)PTR_free_00050390" * (cast_expression "(code *)PTR_free_00050390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "pattern_00 = (void **)(PTR_PTR_homefile_0004fbf8 + 0x42a0);" (assignment_expression "pattern_00 = (void **)(PTR_PTR_homefile_0004fbf8 + 0x42a0)" identifier = (cast_expression "(void **)(PTR_PTR_homefile_0004fbf8 + 0x42a0)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_PTR_homefile_0004fbf8 + 0x42a0)" ( (binary_expression "PTR_PTR_homefile_0004fbf8 + 0x42a0" identifier + number_literal) )))) ;) (expression_statement "*(undefined4 *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) = 0;" (assignment_expression "*(undefined4 *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) = 0" (pointer_expression "*(undefined4 *)(PTR_PTR_homefile_0004fbf8 + 0x42a4)" * (cast_expression "(undefined4 *)(PTR_PTR_homefile_0004fbf8 + 0x42a4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_PTR_homefile_0004fbf8 + 0x42a4)" ( (binary_expression "PTR_PTR_homefile_0004fbf8 + 0x42a4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uncompile_pattern(pattern_00);" (call_expression "uncompile_pattern(pattern_00)" identifier (argument_list "(pattern_00)" ( identifier ))) ;) }) (else_clause "else {\n    set_pattern((pattern_info *)(PTR_PTR_homefile_0004fbf8 + 0x42a0),pattern,search_type);\n  }" else (compound_statement "{\n    set_pattern((pattern_info *)(PTR_PTR_homefile_0004fbf8 + 0x42a0),pattern,search_type);\n  }" { (expression_statement "set_pattern((pattern_info *)(PTR_PTR_homefile_0004fbf8 + 0x42a0),pattern,search_type);" (call_expression "set_pattern((pattern_info *)(PTR_PTR_homefile_0004fbf8 + 0x42a0),pattern,search_type)" identifier (argument_list "((pattern_info *)(PTR_PTR_homefile_0004fbf8 + 0x42a0),pattern,search_type)" ( (cast_expression "(pattern_info *)(PTR_PTR_homefile_0004fbf8 + 0x42a0)" ( (type_descriptor "pattern_info *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_PTR_homefile_0004fbf8 + 0x42a0)" ( (binary_expression "PTR_PTR_homefile_0004fbf8 + 0x42a0" identifier + number_literal) ))) , identifier , identifier ))) ;) }))) (expression_statement "*(undefined4 *)PTR_screen_trashed_0004fdd8 = 1;" (assignment_expression "*(undefined4 *)PTR_screen_trashed_0004fdd8 = 1" (pointer_expression "*(undefined4 *)PTR_screen_trashed_0004fdd8" * (cast_expression "(undefined4 *)PTR_screen_trashed_0004fdd8" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void set_filter_pattern(char *param_1,undefined4 param_2)\n\n{\n  clr_filter();\n  if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {\n    if (*(int *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) != 0) {\n      (*(code *)PTR_free_00050390)();\n    }\n    *(undefined4 *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) = 0;\n    uncompile_pattern();\n  }\n  else {\n    FUN_000328c4(PTR_PTR_homefile_0004fbf8 + 0x42a0,param_1,param_2);\n  }\n  *(undefined4 *)PTR_screen_trashed_0004fdd8 = 1;\n  return;\n}\n\n" (function_definition "void set_filter_pattern(char *param_1,undefined4 param_2)\n\n{\n  clr_filter();\n  if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {\n    if (*(int *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) != 0) {\n      (*(code *)PTR_free_00050390)();\n    }\n    *(undefined4 *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) = 0;\n    uncompile_pattern();\n  }\n  else {\n    FUN_000328c4(PTR_PTR_homefile_0004fbf8 + 0x42a0,param_1,param_2);\n  }\n  *(undefined4 *)PTR_screen_trashed_0004fdd8 = 1;\n  return;\n}" primitive_type (function_declarator "set_filter_pattern(char *param_1,undefined4 param_2)" identifier (parameter_list "(char *param_1,undefined4 param_2)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  clr_filter();\n  if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {\n    if (*(int *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) != 0) {\n      (*(code *)PTR_free_00050390)();\n    }\n    *(undefined4 *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) = 0;\n    uncompile_pattern();\n  }\n  else {\n    FUN_000328c4(PTR_PTR_homefile_0004fbf8 + 0x42a0,param_1,param_2);\n  }\n  *(undefined4 *)PTR_screen_trashed_0004fdd8 = 1;\n  return;\n}" { (expression_statement "clr_filter();" (call_expression "clr_filter()" identifier (argument_list "()" ( ))) ;) (if_statement "if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {\n    if (*(int *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) != 0) {\n      (*(code *)PTR_free_00050390)();\n    }\n    *(undefined4 *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) = 0;\n    uncompile_pattern();\n  }\n  else {\n    FUN_000328c4(PTR_PTR_homefile_0004fbf8 + 0x42a0,param_1,param_2);\n  }" if (parenthesized_expression "((param_1 == (char *)0x0) || (*param_1 == '\0'))" ( (binary_expression "(param_1 == (char *)0x0) || (*param_1 == '\0')" (parenthesized_expression "(param_1 == (char *)0x0)" ( (binary_expression "param_1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(*param_1 == '\0')" ( (binary_expression "*param_1 == '\0'" (pointer_expression "*param_1" * identifier) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    if (*(int *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) != 0) {\n      (*(code *)PTR_free_00050390)();\n    }\n    *(undefined4 *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) = 0;\n    uncompile_pattern();\n  }" { (if_statement "if (*(int *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) != 0) {\n      (*(code *)PTR_free_00050390)();\n    }" if (parenthesized_expression "(*(int *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) != 0)" ( (binary_expression "*(int *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) != 0" (pointer_expression "*(int *)(PTR_PTR_homefile_0004fbf8 + 0x42a4)" * (cast_expression "(int *)(PTR_PTR_homefile_0004fbf8 + 0x42a4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_PTR_homefile_0004fbf8 + 0x42a4)" ( (binary_expression "PTR_PTR_homefile_0004fbf8 + 0x42a4" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      (*(code *)PTR_free_00050390)();\n    }" { (expression_statement "(*(code *)PTR_free_00050390)();" (call_expression "(*(code *)PTR_free_00050390)()" (parenthesized_expression "(*(code *)PTR_free_00050390)" ( (pointer_expression "*(code *)PTR_free_00050390" * (cast_expression "(code *)PTR_free_00050390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "*(undefined4 *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) = 0;" (assignment_expression "*(undefined4 *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) = 0" (pointer_expression "*(undefined4 *)(PTR_PTR_homefile_0004fbf8 + 0x42a4)" * (cast_expression "(undefined4 *)(PTR_PTR_homefile_0004fbf8 + 0x42a4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_PTR_homefile_0004fbf8 + 0x42a4)" ( (binary_expression "PTR_PTR_homefile_0004fbf8 + 0x42a4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uncompile_pattern();" (call_expression "uncompile_pattern()" identifier (argument_list "()" ( ))) ;) }) (else_clause "else {\n    FUN_000328c4(PTR_PTR_homefile_0004fbf8 + 0x42a0,param_1,param_2);\n  }" else (compound_statement "{\n    FUN_000328c4(PTR_PTR_homefile_0004fbf8 + 0x42a0,param_1,param_2);\n  }" { (expression_statement "FUN_000328c4(PTR_PTR_homefile_0004fbf8 + 0x42a0,param_1,param_2);" (call_expression "FUN_000328c4(PTR_PTR_homefile_0004fbf8 + 0x42a0,param_1,param_2)" identifier (argument_list "(PTR_PTR_homefile_0004fbf8 + 0x42a0,param_1,param_2)" ( (binary_expression "PTR_PTR_homefile_0004fbf8 + 0x42a0" identifier + number_literal) , identifier , identifier ))) ;) }))) (expression_statement "*(undefined4 *)PTR_screen_trashed_0004fdd8 = 1;" (assignment_expression "*(undefined4 *)PTR_screen_trashed_0004fdd8 = 1" (pointer_expression "*(undefined4 *)PTR_screen_trashed_0004fdd8" * (cast_expression "(undefined4 *)PTR_screen_trashed_0004fdd8" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) || (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) ))) )) (compound_statement { (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 { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT ))) ;) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = LIT) ;) (return_statement return ;) })))
(function_definition "void set_filter_pattern(char *param_1,undefined4 param_2)\n\n{\n  clr_filter();\n  if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {\n    if (*(int *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) != 0) {\n      (*(code *)PTR_free_00050390)();\n    }\n    *(undefined4 *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) = 0;\n    uncompile_pattern();\n  }\n  else {\n    FUN_000328c4(PTR_PTR_homefile_0004fbf8 + 0x42a0,param_1,param_2);\n  }\n  *(undefined4 *)PTR_screen_trashed_0004fdd8 = 1;\n  return;\n}" (primitive_type "void") (function_declarator "set_filter_pattern(char *param_1,undefined4 param_2)" (identifier "set_filter_pattern") (parameter_list "(char *param_1,undefined4 param_2)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  clr_filter();\n  if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {\n    if (*(int *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) != 0) {\n      (*(code *)PTR_free_00050390)();\n    }\n    *(undefined4 *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) = 0;\n    uncompile_pattern();\n  }\n  else {\n    FUN_000328c4(PTR_PTR_homefile_0004fbf8 + 0x42a0,param_1,param_2);\n  }\n  *(undefined4 *)PTR_screen_trashed_0004fdd8 = 1;\n  return;\n}" ({ "{") (expression_statement "clr_filter();" (call_expression "clr_filter()" (identifier "clr_filter") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {\n    if (*(int *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) != 0) {\n      (*(code *)PTR_free_00050390)();\n    }\n    *(undefined4 *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) = 0;\n    uncompile_pattern();\n  }\n  else {\n    FUN_000328c4(PTR_PTR_homefile_0004fbf8 + 0x42a0,param_1,param_2);\n  }" (if "if") (parenthesized_expression "((param_1 == (char *)0x0) || (*param_1 == '\0'))" (( "(") (binary_expression "(param_1 == (char *)0x0) || (*param_1 == '\0')" (parenthesized_expression "(param_1 == (char *)0x0)" (( "(") (binary_expression "param_1 == (char *)0x0" (identifier "param_1") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "(*param_1 == '\0')" (( "(") (binary_expression "*param_1 == '\0'" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    if (*(int *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) != 0) {\n      (*(code *)PTR_free_00050390)();\n    }\n    *(undefined4 *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) = 0;\n    uncompile_pattern();\n  }" ({ "{") (if_statement "if (*(int *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) != 0) {\n      (*(code *)PTR_free_00050390)();\n    }" (if "if") (parenthesized_expression "(*(int *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) != 0)" (( "(") (binary_expression "*(int *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) != 0" (pointer_expression "*(int *)(PTR_PTR_homefile_0004fbf8 + 0x42a4)" (* "*") (cast_expression "(int *)(PTR_PTR_homefile_0004fbf8 + 0x42a4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_PTR_homefile_0004fbf8 + 0x42a4)" (( "(") (binary_expression "PTR_PTR_homefile_0004fbf8 + 0x42a4" (identifier "PTR_PTR_homefile_0004fbf8") (+ "+") (number_literal "0x42a4")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      (*(code *)PTR_free_00050390)();\n    }" ({ "{") (expression_statement "(*(code *)PTR_free_00050390)();" (call_expression "(*(code *)PTR_free_00050390)()" (parenthesized_expression "(*(code *)PTR_free_00050390)" (( "(") (pointer_expression "*(code *)PTR_free_00050390" (* "*") (cast_expression "(code *)PTR_free_00050390" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_00050390"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) = 0;" (assignment_expression "*(undefined4 *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) = 0" (pointer_expression "*(undefined4 *)(PTR_PTR_homefile_0004fbf8 + 0x42a4)" (* "*") (cast_expression "(undefined4 *)(PTR_PTR_homefile_0004fbf8 + 0x42a4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_PTR_homefile_0004fbf8 + 0x42a4)" (( "(") (binary_expression "PTR_PTR_homefile_0004fbf8 + 0x42a4" (identifier "PTR_PTR_homefile_0004fbf8") (+ "+") (number_literal "0x42a4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "uncompile_pattern();" (call_expression "uncompile_pattern()" (identifier "uncompile_pattern") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")) (else_clause "else {\n    FUN_000328c4(PTR_PTR_homefile_0004fbf8 + 0x42a0,param_1,param_2);\n  }" (else "else") (compound_statement "{\n    FUN_000328c4(PTR_PTR_homefile_0004fbf8 + 0x42a0,param_1,param_2);\n  }" ({ "{") (expression_statement "FUN_000328c4(PTR_PTR_homefile_0004fbf8 + 0x42a0,param_1,param_2);" (call_expression "FUN_000328c4(PTR_PTR_homefile_0004fbf8 + 0x42a0,param_1,param_2)" (identifier "FUN_000328c4") (argument_list "(PTR_PTR_homefile_0004fbf8 + 0x42a0,param_1,param_2)" (( "(") (binary_expression "PTR_PTR_homefile_0004fbf8 + 0x42a0" (identifier "PTR_PTR_homefile_0004fbf8") (+ "+") (number_literal "0x42a0")) (, ",") (identifier "param_1") (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}")))) (expression_statement "*(undefined4 *)PTR_screen_trashed_0004fdd8 = 1;" (assignment_expression "*(undefined4 *)PTR_screen_trashed_0004fdd8 = 1" (pointer_expression "*(undefined4 *)PTR_screen_trashed_0004fdd8" (* "*") (cast_expression "(undefined4 *)PTR_screen_trashed_0004fdd8" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_screen_trashed_0004fdd8"))) (= "=") (number_literal "1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))))) consequence: (compound_statement (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 (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (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: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list)))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier) (identifier))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))) (return_statement))))

void MASKED(char *param_1,undefined4 param_2)

{
  clr_filter();
  if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {
    if (*(int *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) != 0) {
      (*(code *)PTR_free_00050390)();
    }
    *(undefined4 *)(PTR_PTR_homefile_0004fbf8 + 0x42a4) = 0;
    uncompile_pattern();
  }
  else {
    FUN_000328c4(PTR_PTR_homefile_0004fbf8 + 0x42a0,param_1,param_2);
  }
  *(undefined4 *)PTR_screen_trashed_0004fdd8 = 1;
  return;
}

