
/* WARNING: Unknown calling convention */

char filename_char_sanitise(char c)

{
  char cVar1;
  
  cVar1 = '.';
  if (c != '/') {
    cVar1 = c;
  }
  return cVar1;
}



undefined4 FUN_0015437f(undefined4 param_1)

{
  undefined4 uVar1;
  
  uVar1 = 0x2e;
  if ((char)param_1 != '/') {
    uVar1 = param_1;
  }
  return uVar1;
}


CMP DIL,0x2f
MOV EAX,0x2e
CMOVNZ EAX,EDI
RET
(translation_unit "undefined4 FUN_0015437f(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = 0x2e;\n  if ((char)param_1 != '/') {\n    uVar1 = param_1;\n  }\n  return uVar1;\n}\n\n" (function_definition "undefined4 FUN_0015437f(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = 0x2e;\n  if ((char)param_1 != '/') {\n    uVar1 = param_1;\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_0015437f(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = 0x2e;\n  if ((char)param_1 != '/') {\n    uVar1 = param_1;\n  }\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = 0x2e;" (assignment_expression "uVar1 = 0x2e" identifier = number_literal) ;) (if_statement "if ((char)param_1 != '/') {\n    uVar1 = param_1;\n  }" if (parenthesized_expression "((char)param_1 != '/')" ( (binary_expression "(char)param_1 != '/'" (cast_expression "(char)param_1" ( (type_descriptor "char" primitive_type) ) identifier) != (char_literal "'/'" ' character ')) )) (compound_statement "{\n    uVar1 = param_1;\n  }" { (expression_statement "uVar1 = param_1;" (assignment_expression "uVar1 = param_1" identifier = identifier) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nchar filename_char_sanitise(char c)\n\n{\n  char cVar1;\n  \n  cVar1 = '.';\n  if (c != '/') {\n    cVar1 = c;\n  }\n  return cVar1;\n}\n\n" comment (function_definition "char filename_char_sanitise(char c)\n\n{\n  char cVar1;\n  \n  cVar1 = '.';\n  if (c != '/') {\n    cVar1 = c;\n  }\n  return cVar1;\n}" primitive_type (function_declarator "filename_char_sanitise(char c)" identifier (parameter_list "(char c)" ( (parameter_declaration "char c" primitive_type identifier) ))) (compound_statement "{\n  char cVar1;\n  \n  cVar1 = '.';\n  if (c != '/') {\n    cVar1 = c;\n  }\n  return cVar1;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (expression_statement "cVar1 = '.';" (assignment_expression "cVar1 = '.'" identifier = (char_literal "'.'" ' character ')) ;) (if_statement "if (c != '/') {\n    cVar1 = c;\n  }" if (parenthesized_expression "(c != '/')" ( (binary_expression "c != '/'" identifier != (char_literal "'/'" ' character ')) )) (compound_statement "{\n    cVar1 = c;\n  }" { (expression_statement "cVar1 = c;" (assignment_expression "cVar1 = c" identifier = identifier) ;) })) (return_statement "return cVar1;" return identifier ;) })))
(translation_unit "undefined4 FUN_0015437f(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = 0x2e;\n  if ((char)param_1 != '/') {\n    uVar1 = param_1;\n  }\n  return uVar1;\n}\n\n" (function_definition "undefined4 FUN_0015437f(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = 0x2e;\n  if ((char)param_1 != '/') {\n    uVar1 = param_1;\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_0015437f(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = 0x2e;\n  if ((char)param_1 != '/') {\n    uVar1 = param_1;\n  }\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = 0x2e;" (assignment_expression "uVar1 = 0x2e" identifier = number_literal) ;) (if_statement "if ((char)param_1 != '/') {\n    uVar1 = param_1;\n  }" if (parenthesized_expression "((char)param_1 != '/')" ( (binary_expression "(char)param_1 != '/'" (cast_expression "(char)param_1" ( (type_descriptor "char" primitive_type) ) identifier) != (char_literal "'/'" ' character ')) )) (compound_statement "{\n    uVar1 = param_1;\n  }" { (expression_statement "uVar1 = param_1;" (assignment_expression "uVar1 = param_1" identifier = identifier) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) != (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_0015437f(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = 0x2e;\n  if ((char)param_1 != '/') {\n    uVar1 = param_1;\n  }\n  return uVar1;\n}" (type_identifier "undefined4") (function_declarator "FUN_0015437f(undefined4 param_1)" (identifier "FUN_0015437f") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = 0x2e;\n  if ((char)param_1 != '/') {\n    uVar1 = param_1;\n  }\n  return uVar1;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = 0x2e;" (assignment_expression "uVar1 = 0x2e" (identifier "uVar1") (= "=") (number_literal "0x2e")) (; ";")) (if_statement "if ((char)param_1 != '/') {\n    uVar1 = param_1;\n  }" (if "if") (parenthesized_expression "((char)param_1 != '/')" (( "(") (binary_expression "(char)param_1 != '/'" (cast_expression "(char)param_1" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "param_1")) (!= "!=") (char_literal "'/'" (' "'") (character "/") (' "'"))) () ")")) (compound_statement "{\n    uVar1 = param_1;\n  }" ({ "{") (expression_statement "uVar1 = param_1;" (assignment_expression "uVar1 = param_1" (identifier "uVar1") (= "=") (identifier "param_1")) (; ";")) (} "}"))) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

char function_1(char var_1)

{
  char cVar1;
  
  cVar1 = '.';
  if (var_1 != '/') {
    cVar1 = var_1;
  }
  return cVar1;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (char_literal (character)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (return_statement (identifier)))))

undefined4 MASKED(undefined4 param_1)

{
  undefined4 uVar1;
  
  uVar1 = 0x2e;
  if ((char)param_1 != '/') {
    uVar1 = param_1;
  }
  return uVar1;
}

