
int visit_globmatch_casefold(process_data *procdata,void *context)

{
  int iVar1;
  int iVar2;
  
  iVar1 = rpl_fnmatch((char *)context,procdata->munged_filename,0x10);
  iVar2 = 2;
  if (iVar1 != 0) {
    iVar2 = 4;
  }
  return iVar2;
}



undefined4 FUN_000131e8(int param_1,undefined4 param_2)

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


lui gp,0x4
addiu gp,gp,0x1f68
addu gp,gp,t9
addiu sp,sp,-0x20
sw ra,0x1c(sp)
sw gp,0x10(sp)
or v0,a1,zero
li a2,0x10
lw a1,0x14(a0)
or a0,v0,zero
lw t9,-0x7fa0(gp)
bal 0x00022ca8
_nop
lw gp,0x10(sp)
li a0,0x4
li v1,0x2
movn v1,a0,v0
or v0,v1,zero
lw ra,0x1c(sp)
jr ra
_addiu sp,sp,0x20
(translation_unit "undefined4 FUN_000131e8(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = rpl_fnmatch(param_2,*(undefined4 *)(param_1 + 0x14),0x10);\n  uVar2 = 2;\n  if (iVar1 != 0) {\n    uVar2 = 4;\n  }\n  return uVar2;\n}\n\n" (function_definition "undefined4 FUN_000131e8(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = rpl_fnmatch(param_2,*(undefined4 *)(param_1 + 0x14),0x10);\n  uVar2 = 2;\n  if (iVar1 != 0) {\n    uVar2 = 4;\n  }\n  return uVar2;\n}" type_identifier (function_declarator "FUN_000131e8(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = rpl_fnmatch(param_2,*(undefined4 *)(param_1 + 0x14),0x10);\n  uVar2 = 2;\n  if (iVar1 != 0) {\n    uVar2 = 4;\n  }\n  return uVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = rpl_fnmatch(param_2,*(undefined4 *)(param_1 + 0x14),0x10);" (assignment_expression "iVar1 = rpl_fnmatch(param_2,*(undefined4 *)(param_1 + 0x14),0x10)" identifier = (call_expression "rpl_fnmatch(param_2,*(undefined4 *)(param_1 + 0x14),0x10)" identifier (argument_list "(param_2,*(undefined4 *)(param_1 + 0x14),0x10)" ( identifier , (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) )))) , number_literal )))) ;) (expression_statement "uVar2 = 2;" (assignment_expression "uVar2 = 2" identifier = number_literal) ;) (if_statement "if (iVar1 != 0) {\n    uVar2 = 4;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar2 = 4;\n  }" { (expression_statement "uVar2 = 4;" (assignment_expression "uVar2 = 4" identifier = number_literal) ;) })) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "int visit_globmatch_casefold(process_data *procdata,void *context)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = rpl_fnmatch((char *)context,procdata->munged_filename,0x10);\n  iVar2 = 2;\n  if (iVar1 != 0) {\n    iVar2 = 4;\n  }\n  return iVar2;\n}\n\n" (function_definition "int visit_globmatch_casefold(process_data *procdata,void *context)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = rpl_fnmatch((char *)context,procdata->munged_filename,0x10);\n  iVar2 = 2;\n  if (iVar1 != 0) {\n    iVar2 = 4;\n  }\n  return iVar2;\n}" primitive_type (function_declarator "visit_globmatch_casefold(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  int iVar1;\n  int iVar2;\n  \n  iVar1 = rpl_fnmatch((char *)context,procdata->munged_filename,0x10);\n  iVar2 = 2;\n  if (iVar1 != 0) {\n    iVar2 = 4;\n  }\n  return iVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "iVar1 = rpl_fnmatch((char *)context,procdata->munged_filename,0x10);" (assignment_expression "iVar1 = rpl_fnmatch((char *)context,procdata->munged_filename,0x10)" identifier = (call_expression "rpl_fnmatch((char *)context,procdata->munged_filename,0x10)" identifier (argument_list "((char *)context,procdata->munged_filename,0x10)" ( (cast_expression "(char *)context" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (field_expression "procdata->munged_filename" identifier -> field_identifier) , number_literal )))) ;) (expression_statement "iVar2 = 2;" (assignment_expression "iVar2 = 2" identifier = number_literal) ;) (if_statement "if (iVar1 != 0) {\n    iVar2 = 4;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar2 = 4;\n  }" { (expression_statement "iVar2 = 4;" (assignment_expression "iVar2 = 4" identifier = number_literal) ;) })) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "undefined4 FUN_000131e8(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = rpl_fnmatch(param_2,*(undefined4 *)(param_1 + 0x14),0x10);\n  uVar2 = 2;\n  if (iVar1 != 0) {\n    uVar2 = 4;\n  }\n  return uVar2;\n}\n\n" (function_definition "undefined4 FUN_000131e8(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = rpl_fnmatch(param_2,*(undefined4 *)(param_1 + 0x14),0x10);\n  uVar2 = 2;\n  if (iVar1 != 0) {\n    uVar2 = 4;\n  }\n  return uVar2;\n}" type_identifier (function_declarator "FUN_000131e8(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = rpl_fnmatch(param_2,*(undefined4 *)(param_1 + 0x14),0x10);\n  uVar2 = 2;\n  if (iVar1 != 0) {\n    uVar2 = 4;\n  }\n  return uVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = rpl_fnmatch(param_2,*(undefined4 *)(param_1 + 0x14),0x10);" (assignment_expression "iVar1 = rpl_fnmatch(param_2,*(undefined4 *)(param_1 + 0x14),0x10)" identifier = (call_expression "rpl_fnmatch(param_2,*(undefined4 *)(param_1 + 0x14),0x10)" identifier (argument_list "(param_2,*(undefined4 *)(param_1 + 0x14),0x10)" ( identifier , (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) )))) , number_literal )))) ;) (expression_statement "uVar2 = 2;" (assignment_expression "uVar2 = 2" identifier = number_literal) ;) (if_statement "if (iVar1 != 0) {\n    uVar2 = 4;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar2 = 4;\n  }" { (expression_statement "uVar2 = 4;" (assignment_expression "uVar2 = 4" identifier = number_literal) ;) })) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , 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_000131e8(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = rpl_fnmatch(param_2,*(undefined4 *)(param_1 + 0x14),0x10);\n  uVar2 = 2;\n  if (iVar1 != 0) {\n    uVar2 = 4;\n  }\n  return uVar2;\n}" (type_identifier "undefined4") (function_declarator "FUN_000131e8(int param_1,undefined4 param_2)" (identifier "FUN_000131e8") (parameter_list "(int param_1,undefined4 param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = rpl_fnmatch(param_2,*(undefined4 *)(param_1 + 0x14),0x10);\n  uVar2 = 2;\n  if (iVar1 != 0) {\n    uVar2 = 4;\n  }\n  return uVar2;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "iVar1 = rpl_fnmatch(param_2,*(undefined4 *)(param_1 + 0x14),0x10);" (assignment_expression "iVar1 = rpl_fnmatch(param_2,*(undefined4 *)(param_1 + 0x14),0x10)" (identifier "iVar1") (= "=") (call_expression "rpl_fnmatch(param_2,*(undefined4 *)(param_1 + 0x14),0x10)" (identifier "rpl_fnmatch") (argument_list "(param_2,*(undefined4 *)(param_1 + 0x14),0x10)" (( "(") (identifier "param_2") (, ",") (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")) () ")")))) (, ",") (number_literal "0x10") () ")")))) (; ";")) (expression_statement "uVar2 = 2;" (assignment_expression "uVar2 = 2" (identifier "uVar2") (= "=") (number_literal "2")) (; ";")) (if_statement "if (iVar1 != 0) {\n    uVar2 = 4;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar2 = 4;\n  }" ({ "{") (expression_statement "uVar2 = 4;" (assignment_expression "uVar2 = 4" (identifier "uVar2") (= "=") (number_literal "4")) (; ";")) (} "}"))) (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)) (parameter_declaration type: (type_identifier) 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 (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))))) (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,undefined4 param_2)

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

