
int visit_substring_match_casefold_wide(process_data *procdata,void *context)

{
  char *pcVar1;
  int iVar2;
  char *pattern;
  
  pcVar1 = mbscasestr(procdata->munged_filename,(char *)context);
  iVar2 = 4;
  if (pcVar1 != (char *)0x0) {
    iVar2 = 2;
  }
  return iVar2;
}



undefined4 FUN_000139b8(int param_1)

{
  int iVar1;
  undefined4 uVar2;
  
  iVar1 = mbscasestr(*(undefined4 *)(param_1 + 0x14));
  uVar2 = 4;
  if (iVar1 != 0) {
    uVar2 = 2;
  }
  return uVar2;
}


lui gp,0x4
addiu gp,gp,-0x868
addu gp,gp,t9
addiu sp,sp,-0x20
lw t9,-0x7fa8(gp)
lw a0,0x14(a0)
sw ra,0x1c(sp)
sw gp,0x10(sp)
bal 0x000180d4
_nop
li a0,0x2
li v1,0x4
lw ra,0x1c(sp)
addiu sp,sp,0x20
movn v1,a0,v0
jr ra
_or v0,v1,zero
(translation_unit "undefined4 FUN_000139b8(int param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = mbscasestr(*(undefined4 *)(param_1 + 0x14));\n  uVar2 = 4;\n  if (iVar1 != 0) {\n    uVar2 = 2;\n  }\n  return uVar2;\n}\n\n" (function_definition "undefined4 FUN_000139b8(int param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = mbscasestr(*(undefined4 *)(param_1 + 0x14));\n  uVar2 = 4;\n  if (iVar1 != 0) {\n    uVar2 = 2;\n  }\n  return uVar2;\n}" type_identifier (function_declarator "FUN_000139b8(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = mbscasestr(*(undefined4 *)(param_1 + 0x14));\n  uVar2 = 4;\n  if (iVar1 != 0) {\n    uVar2 = 2;\n  }\n  return uVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = mbscasestr(*(undefined4 *)(param_1 + 0x14));" (assignment_expression "iVar1 = mbscasestr(*(undefined4 *)(param_1 + 0x14))" identifier = (call_expression "mbscasestr(*(undefined4 *)(param_1 + 0x14))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x14))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) )))) ;) (expression_statement "uVar2 = 4;" (assignment_expression "uVar2 = 4" identifier = number_literal) ;) (if_statement "if (iVar1 != 0) {\n    uVar2 = 2;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar2 = 2;\n  }" { (expression_statement "uVar2 = 2;" (assignment_expression "uVar2 = 2" identifier = number_literal) ;) })) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "int visit_substring_match_casefold_wide(process_data *procdata,void *context)\n\n{\n  char *pcVar1;\n  int iVar2;\n  char *pattern;\n  \n  pcVar1 = mbscasestr(procdata->munged_filename,(char *)context);\n  iVar2 = 4;\n  if (pcVar1 != (char *)0x0) {\n    iVar2 = 2;\n  }\n  return iVar2;\n}\n\n" (function_definition "int visit_substring_match_casefold_wide(process_data *procdata,void *context)\n\n{\n  char *pcVar1;\n  int iVar2;\n  char *pattern;\n  \n  pcVar1 = mbscasestr(procdata->munged_filename,(char *)context);\n  iVar2 = 4;\n  if (pcVar1 != (char *)0x0) {\n    iVar2 = 2;\n  }\n  return iVar2;\n}" primitive_type (function_declarator "visit_substring_match_casefold_wide(process_data *procdata,void *context)" identifier (parameter_list "(process_data *procdata,void *context)" ( (parameter_declaration "process_data *procdata" type_identifier (pointer_declarator "*procdata" * identifier)) , (parameter_declaration "void *context" primitive_type (pointer_declarator "*context" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  char *pattern;\n  \n  pcVar1 = mbscasestr(procdata->munged_filename,(char *)context);\n  iVar2 = 4;\n  if (pcVar1 != (char *)0x0) {\n    iVar2 = 2;\n  }\n  return iVar2;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *pattern;" primitive_type (pointer_declarator "*pattern" * identifier) ;) (expression_statement "pcVar1 = mbscasestr(procdata->munged_filename,(char *)context);" (assignment_expression "pcVar1 = mbscasestr(procdata->munged_filename,(char *)context)" identifier = (call_expression "mbscasestr(procdata->munged_filename,(char *)context)" identifier (argument_list "(procdata->munged_filename,(char *)context)" ( (field_expression "procdata->munged_filename" identifier -> field_identifier) , (cast_expression "(char *)context" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (expression_statement "iVar2 = 4;" (assignment_expression "iVar2 = 4" identifier = number_literal) ;) (if_statement "if (pcVar1 != (char *)0x0) {\n    iVar2 = 2;\n  }" if (parenthesized_expression "(pcVar1 != (char *)0x0)" ( (binary_expression "pcVar1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar2 = 2;\n  }" { (expression_statement "iVar2 = 2;" (assignment_expression "iVar2 = 2" identifier = number_literal) ;) })) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "undefined4 FUN_000139b8(int param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = mbscasestr(*(undefined4 *)(param_1 + 0x14));\n  uVar2 = 4;\n  if (iVar1 != 0) {\n    uVar2 = 2;\n  }\n  return uVar2;\n}\n\n" (function_definition "undefined4 FUN_000139b8(int param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = mbscasestr(*(undefined4 *)(param_1 + 0x14));\n  uVar2 = 4;\n  if (iVar1 != 0) {\n    uVar2 = 2;\n  }\n  return uVar2;\n}" type_identifier (function_declarator "FUN_000139b8(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = mbscasestr(*(undefined4 *)(param_1 + 0x14));\n  uVar2 = 4;\n  if (iVar1 != 0) {\n    uVar2 = 2;\n  }\n  return uVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = mbscasestr(*(undefined4 *)(param_1 + 0x14));" (assignment_expression "iVar1 = mbscasestr(*(undefined4 *)(param_1 + 0x14))" identifier = (call_expression "mbscasestr(*(undefined4 *)(param_1 + 0x14))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x14))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) )))) ;) (expression_statement "uVar2 = 4;" (assignment_expression "uVar2 = 4" identifier = number_literal) ;) (if_statement "if (iVar1 != 0) {\n    uVar2 = 2;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar2 = 2;\n  }" { (expression_statement "uVar2 = 2;" (assignment_expression "uVar2 = 2" identifier = number_literal) ;) })) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_000139b8(int param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = mbscasestr(*(undefined4 *)(param_1 + 0x14));\n  uVar2 = 4;\n  if (iVar1 != 0) {\n    uVar2 = 2;\n  }\n  return uVar2;\n}" (type_identifier "undefined4") (function_declarator "FUN_000139b8(int param_1)" (identifier "FUN_000139b8") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = mbscasestr(*(undefined4 *)(param_1 + 0x14));\n  uVar2 = 4;\n  if (iVar1 != 0) {\n    uVar2 = 2;\n  }\n  return uVar2;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "iVar1 = mbscasestr(*(undefined4 *)(param_1 + 0x14));" (assignment_expression "iVar1 = mbscasestr(*(undefined4 *)(param_1 + 0x14))" (identifier "iVar1") (= "=") (call_expression "mbscasestr(*(undefined4 *)(param_1 + 0x14))" (identifier "mbscasestr") (argument_list "(*(undefined4 *)(param_1 + 0x14))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x14)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) () ")")))) (; ";")) (expression_statement "uVar2 = 4;" (assignment_expression "uVar2 = 4" (identifier "uVar2") (= "=") (number_literal "4")) (; ";")) (if_statement "if (iVar1 != 0) {\n    uVar2 = 2;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar2 = 2;\n  }" ({ "{") (expression_statement "uVar2 = 2;" (assignment_expression "uVar2 = 2" (identifier "uVar2") (= "=") (number_literal "2")) (; ";")) (} "}"))) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (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: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (return_statement (identifier)))))

undefined4 MASKED(int param_1)

{
  int iVar1;
  undefined4 uVar2;
  
  iVar1 = mbscasestr(*(undefined4 *)(param_1 + 0x14));
  uVar2 = 4;
  if (iVar1 != 0) {
    uVar2 = 2;
  }
  return uVar2;
}

