
/* WARNING: Unknown calling convention */

ulong hash_string(void *key)

{
  char cVar1;
  uint uVar2;
  char *pcVar3;
  char *p;
  
                    /* WARNING: Load size is inaccurate */
  uVar2 = (uint)*key;
  if (*key != '\0') {
    pcVar3 = (char *)((long)key + 1);
    cVar1 = *(char *)((long)key + 1);
    while (cVar1 != '\0') {
      uVar2 = uVar2 * 0x1f + (int)cVar1;
      pcVar3 = pcVar3 + 1;
      cVar1 = *pcVar3;
    }
  }
  return (ulong)uVar2;
}



int FUN_0011bc65(char *param_1)

{
  char cVar1;
  int iVar2;
  char *pcVar3;
  
  iVar2 = (int)*param_1;
  if (*param_1 != '\0') {
    pcVar3 = param_1 + 1;
    cVar1 = param_1[1];
    while (cVar1 != '\0') {
      iVar2 = iVar2 * 0x1f + (int)cVar1;
      pcVar3 = pcVar3 + 1;
      cVar1 = *pcVar3;
    }
  }
  return iVar2;
}


MOVSX EAX,byte ptr [RDI]
TEST EAX,EAX
JZ 0x0011bc91
LEA RSI,[RDI + 0x1]
MOVZX EDX,byte ptr [RDI + 0x1]
TEST DL,DL
JZ 0x0011bc91
MOV ECX,EAX
SHL ECX,0x5
SUB ECX,EAX
MOV EAX,ECX
MOVSX EDX,DL
ADD EAX,EDX
ADD RSI,0x1
MOVZX EDX,byte ptr [RSI]
TEST DL,DL
JNZ 0x0011bc78
MOV EAX,EAX
RET
(translation_unit "int FUN_0011bc65(char *param_1)\n\n{\n  char cVar1;\n  int iVar2;\n  char *pcVar3;\n  \n  iVar2 = (int)*param_1;\n  if (*param_1 != '\0') {\n    pcVar3 = param_1 + 1;\n    cVar1 = param_1[1];\n    while (cVar1 != '\0') {\n      iVar2 = iVar2 * 0x1f + (int)cVar1;\n      pcVar3 = pcVar3 + 1;\n      cVar1 = *pcVar3;\n    }\n  }\n  return iVar2;\n}\n\n" (function_definition "int FUN_0011bc65(char *param_1)\n\n{\n  char cVar1;\n  int iVar2;\n  char *pcVar3;\n  \n  iVar2 = (int)*param_1;\n  if (*param_1 != '\0') {\n    pcVar3 = param_1 + 1;\n    cVar1 = param_1[1];\n    while (cVar1 != '\0') {\n      iVar2 = iVar2 * 0x1f + (int)cVar1;\n      pcVar3 = pcVar3 + 1;\n      cVar1 = *pcVar3;\n    }\n  }\n  return iVar2;\n}" primitive_type (function_declarator "FUN_0011bc65(char *param_1)" identifier (parameter_list "(char *param_1)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  int iVar2;\n  char *pcVar3;\n  \n  iVar2 = (int)*param_1;\n  if (*param_1 != '\0') {\n    pcVar3 = param_1 + 1;\n    cVar1 = param_1[1];\n    while (cVar1 != '\0') {\n      iVar2 = iVar2 * 0x1f + (int)cVar1;\n      pcVar3 = pcVar3 + 1;\n      cVar1 = *pcVar3;\n    }\n  }\n  return iVar2;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (expression_statement "iVar2 = (int)*param_1;" (assignment_expression "iVar2 = (int)*param_1" identifier = (cast_expression "(int)*param_1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (*param_1 != '\0') {\n    pcVar3 = param_1 + 1;\n    cVar1 = param_1[1];\n    while (cVar1 != '\0') {\n      iVar2 = iVar2 * 0x1f + (int)cVar1;\n      pcVar3 = pcVar3 + 1;\n      cVar1 = *pcVar3;\n    }\n  }" if (parenthesized_expression "(*param_1 != '\0')" ( (binary_expression "*param_1 != '\0'" (pointer_expression "*param_1" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    pcVar3 = param_1 + 1;\n    cVar1 = param_1[1];\n    while (cVar1 != '\0') {\n      iVar2 = iVar2 * 0x1f + (int)cVar1;\n      pcVar3 = pcVar3 + 1;\n      cVar1 = *pcVar3;\n    }\n  }" { (expression_statement "pcVar3 = param_1 + 1;" (assignment_expression "pcVar3 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "cVar1 = param_1[1];" (assignment_expression "cVar1 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (while_statement "while (cVar1 != '\0') {\n      iVar2 = iVar2 * 0x1f + (int)cVar1;\n      pcVar3 = pcVar3 + 1;\n      cVar1 = *pcVar3;\n    }" while (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      iVar2 = iVar2 * 0x1f + (int)cVar1;\n      pcVar3 = pcVar3 + 1;\n      cVar1 = *pcVar3;\n    }" { (expression_statement "iVar2 = iVar2 * 0x1f + (int)cVar1;" (assignment_expression "iVar2 = iVar2 * 0x1f + (int)cVar1" identifier = (binary_expression "iVar2 * 0x1f + (int)cVar1" (binary_expression "iVar2 * 0x1f" identifier * number_literal) + (cast_expression "(int)cVar1" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "pcVar3 = pcVar3 + 1;" (assignment_expression "pcVar3 = pcVar3 + 1" identifier = (binary_expression "pcVar3 + 1" identifier + number_literal)) ;) (expression_statement "cVar1 = *pcVar3;" (assignment_expression "cVar1 = *pcVar3" identifier = (pointer_expression "*pcVar3" * identifier)) ;) })) })) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nulong hash_string(void *key)\n\n{\n  char cVar1;\n  uint uVar2;\n  char *pcVar3;\n  char *p;\n  \n                    /* WARNING: Load size is inaccurate */\n  uVar2 = (uint)*key;\n  if (*key != '\0') {\n    pcVar3 = (char *)((long)key + 1);\n    cVar1 = *(char *)((long)key + 1);\n    while (cVar1 != '\0') {\n      uVar2 = uVar2 * 0x1f + (int)cVar1;\n      pcVar3 = pcVar3 + 1;\n      cVar1 = *pcVar3;\n    }\n  }\n  return (ulong)uVar2;\n}\n\n" comment (function_definition "ulong hash_string(void *key)\n\n{\n  char cVar1;\n  uint uVar2;\n  char *pcVar3;\n  char *p;\n  \n                    /* WARNING: Load size is inaccurate */\n  uVar2 = (uint)*key;\n  if (*key != '\0') {\n    pcVar3 = (char *)((long)key + 1);\n    cVar1 = *(char *)((long)key + 1);\n    while (cVar1 != '\0') {\n      uVar2 = uVar2 * 0x1f + (int)cVar1;\n      pcVar3 = pcVar3 + 1;\n      cVar1 = *pcVar3;\n    }\n  }\n  return (ulong)uVar2;\n}" type_identifier (function_declarator "hash_string(void *key)" identifier (parameter_list "(void *key)" ( (parameter_declaration "void *key" primitive_type (pointer_declarator "*key" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  uint uVar2;\n  char *pcVar3;\n  char *p;\n  \n                    /* WARNING: Load size is inaccurate */\n  uVar2 = (uint)*key;\n  if (*key != '\0') {\n    pcVar3 = (char *)((long)key + 1);\n    cVar1 = *(char *)((long)key + 1);\n    while (cVar1 != '\0') {\n      uVar2 = uVar2 * 0x1f + (int)cVar1;\n      pcVar3 = pcVar3 + 1;\n      cVar1 = *pcVar3;\n    }\n  }\n  return (ulong)uVar2;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "char *p;" primitive_type (pointer_declarator "*p" * identifier) ;) comment (expression_statement "uVar2 = (uint)*key;" (assignment_expression "uVar2 = (uint)*key" identifier = (binary_expression "(uint)*key" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (*key != '\0') {\n    pcVar3 = (char *)((long)key + 1);\n    cVar1 = *(char *)((long)key + 1);\n    while (cVar1 != '\0') {\n      uVar2 = uVar2 * 0x1f + (int)cVar1;\n      pcVar3 = pcVar3 + 1;\n      cVar1 = *pcVar3;\n    }\n  }" if (parenthesized_expression "(*key != '\0')" ( (binary_expression "*key != '\0'" (pointer_expression "*key" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    pcVar3 = (char *)((long)key + 1);\n    cVar1 = *(char *)((long)key + 1);\n    while (cVar1 != '\0') {\n      uVar2 = uVar2 * 0x1f + (int)cVar1;\n      pcVar3 = pcVar3 + 1;\n      cVar1 = *pcVar3;\n    }\n  }" { (expression_statement "pcVar3 = (char *)((long)key + 1);" (assignment_expression "pcVar3 = (char *)((long)key + 1)" identifier = (cast_expression "(char *)((long)key + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)key + 1)" ( (binary_expression "(long)key + 1" (cast_expression "(long)key" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) ;) (expression_statement "cVar1 = *(char *)((long)key + 1);" (assignment_expression "cVar1 = *(char *)((long)key + 1)" identifier = (pointer_expression "*(char *)((long)key + 1)" * (cast_expression "(char *)((long)key + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)key + 1)" ( (binary_expression "(long)key + 1" (cast_expression "(long)key" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (while_statement "while (cVar1 != '\0') {\n      uVar2 = uVar2 * 0x1f + (int)cVar1;\n      pcVar3 = pcVar3 + 1;\n      cVar1 = *pcVar3;\n    }" while (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      uVar2 = uVar2 * 0x1f + (int)cVar1;\n      pcVar3 = pcVar3 + 1;\n      cVar1 = *pcVar3;\n    }" { (expression_statement "uVar2 = uVar2 * 0x1f + (int)cVar1;" (assignment_expression "uVar2 = uVar2 * 0x1f + (int)cVar1" identifier = (binary_expression "uVar2 * 0x1f + (int)cVar1" (binary_expression "uVar2 * 0x1f" identifier * number_literal) + (cast_expression "(int)cVar1" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "pcVar3 = pcVar3 + 1;" (assignment_expression "pcVar3 = pcVar3 + 1" identifier = (binary_expression "pcVar3 + 1" identifier + number_literal)) ;) (expression_statement "cVar1 = *pcVar3;" (assignment_expression "cVar1 = *pcVar3" identifier = (pointer_expression "*pcVar3" * identifier)) ;) })) })) (return_statement "return (ulong)uVar2;" return (cast_expression "(ulong)uVar2" ( (type_descriptor "ulong" type_identifier) ) identifier) ;) })))
(translation_unit "int FUN_0011bc65(char *param_1)\n\n{\n  char cVar1;\n  int iVar2;\n  char *pcVar3;\n  \n  iVar2 = (int)*param_1;\n  if (*param_1 != '\0') {\n    pcVar3 = param_1 + 1;\n    cVar1 = param_1[1];\n    while (cVar1 != '\0') {\n      iVar2 = iVar2 * 0x1f + (int)cVar1;\n      pcVar3 = pcVar3 + 1;\n      cVar1 = *pcVar3;\n    }\n  }\n  return iVar2;\n}\n\n" (function_definition "int FUN_0011bc65(char *param_1)\n\n{\n  char cVar1;\n  int iVar2;\n  char *pcVar3;\n  \n  iVar2 = (int)*param_1;\n  if (*param_1 != '\0') {\n    pcVar3 = param_1 + 1;\n    cVar1 = param_1[1];\n    while (cVar1 != '\0') {\n      iVar2 = iVar2 * 0x1f + (int)cVar1;\n      pcVar3 = pcVar3 + 1;\n      cVar1 = *pcVar3;\n    }\n  }\n  return iVar2;\n}" primitive_type (function_declarator "FUN_0011bc65(char *param_1)" identifier (parameter_list "(char *param_1)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  int iVar2;\n  char *pcVar3;\n  \n  iVar2 = (int)*param_1;\n  if (*param_1 != '\0') {\n    pcVar3 = param_1 + 1;\n    cVar1 = param_1[1];\n    while (cVar1 != '\0') {\n      iVar2 = iVar2 * 0x1f + (int)cVar1;\n      pcVar3 = pcVar3 + 1;\n      cVar1 = *pcVar3;\n    }\n  }\n  return iVar2;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (expression_statement "iVar2 = (int)*param_1;" (assignment_expression "iVar2 = (int)*param_1" identifier = (cast_expression "(int)*param_1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (*param_1 != '\0') {\n    pcVar3 = param_1 + 1;\n    cVar1 = param_1[1];\n    while (cVar1 != '\0') {\n      iVar2 = iVar2 * 0x1f + (int)cVar1;\n      pcVar3 = pcVar3 + 1;\n      cVar1 = *pcVar3;\n    }\n  }" if (parenthesized_expression "(*param_1 != '\0')" ( (binary_expression "*param_1 != '\0'" (pointer_expression "*param_1" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    pcVar3 = param_1 + 1;\n    cVar1 = param_1[1];\n    while (cVar1 != '\0') {\n      iVar2 = iVar2 * 0x1f + (int)cVar1;\n      pcVar3 = pcVar3 + 1;\n      cVar1 = *pcVar3;\n    }\n  }" { (expression_statement "pcVar3 = param_1 + 1;" (assignment_expression "pcVar3 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "cVar1 = param_1[1];" (assignment_expression "cVar1 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (while_statement "while (cVar1 != '\0') {\n      iVar2 = iVar2 * 0x1f + (int)cVar1;\n      pcVar3 = pcVar3 + 1;\n      cVar1 = *pcVar3;\n    }" while (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      iVar2 = iVar2 * 0x1f + (int)cVar1;\n      pcVar3 = pcVar3 + 1;\n      cVar1 = *pcVar3;\n    }" { (expression_statement "iVar2 = iVar2 * 0x1f + (int)cVar1;" (assignment_expression "iVar2 = iVar2 * 0x1f + (int)cVar1" identifier = (binary_expression "iVar2 * 0x1f + (int)cVar1" (binary_expression "iVar2 * 0x1f" identifier * number_literal) + (cast_expression "(int)cVar1" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "pcVar3 = pcVar3 + 1;" (assignment_expression "pcVar3 = pcVar3 + 1" identifier = (binary_expression "pcVar3 + 1" identifier + number_literal)) ;) (expression_statement "cVar1 = *pcVar3;" (assignment_expression "cVar1 = *pcVar3" identifier = (pointer_expression "*pcVar3" * identifier)) ;) })) })) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * LIT) + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) })) (return_statement return IDENT ;) })))
(function_definition "int FUN_0011bc65(char *param_1)\n\n{\n  char cVar1;\n  int iVar2;\n  char *pcVar3;\n  \n  iVar2 = (int)*param_1;\n  if (*param_1 != '\0') {\n    pcVar3 = param_1 + 1;\n    cVar1 = param_1[1];\n    while (cVar1 != '\0') {\n      iVar2 = iVar2 * 0x1f + (int)cVar1;\n      pcVar3 = pcVar3 + 1;\n      cVar1 = *pcVar3;\n    }\n  }\n  return iVar2;\n}" (primitive_type "int") (function_declarator "FUN_0011bc65(char *param_1)" (identifier "FUN_0011bc65") (parameter_list "(char *param_1)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  char cVar1;\n  int iVar2;\n  char *pcVar3;\n  \n  iVar2 = (int)*param_1;\n  if (*param_1 != '\0') {\n    pcVar3 = param_1 + 1;\n    cVar1 = param_1[1];\n    while (cVar1 != '\0') {\n      iVar2 = iVar2 * 0x1f + (int)cVar1;\n      pcVar3 = pcVar3 + 1;\n      cVar1 = *pcVar3;\n    }\n  }\n  return iVar2;\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "char *pcVar3;" (primitive_type "char") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (expression_statement "iVar2 = (int)*param_1;" (assignment_expression "iVar2 = (int)*param_1" (identifier "iVar2") (= "=") (cast_expression "(int)*param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (if_statement "if (*param_1 != '\0') {\n    pcVar3 = param_1 + 1;\n    cVar1 = param_1[1];\n    while (cVar1 != '\0') {\n      iVar2 = iVar2 * 0x1f + (int)cVar1;\n      pcVar3 = pcVar3 + 1;\n      cVar1 = *pcVar3;\n    }\n  }" (if "if") (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    pcVar3 = param_1 + 1;\n    cVar1 = param_1[1];\n    while (cVar1 != '\0') {\n      iVar2 = iVar2 * 0x1f + (int)cVar1;\n      pcVar3 = pcVar3 + 1;\n      cVar1 = *pcVar3;\n    }\n  }" ({ "{") (expression_statement "pcVar3 = param_1 + 1;" (assignment_expression "pcVar3 = param_1 + 1" (identifier "pcVar3") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "cVar1 = param_1[1];" (assignment_expression "cVar1 = param_1[1]" (identifier "cVar1") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (while_statement "while (cVar1 != '\0') {\n      iVar2 = iVar2 * 0x1f + (int)cVar1;\n      pcVar3 = pcVar3 + 1;\n      cVar1 = *pcVar3;\n    }" (while "while") (parenthesized_expression "(cVar1 != '\0')" (( "(") (binary_expression "cVar1 != '\0'" (identifier "cVar1") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      iVar2 = iVar2 * 0x1f + (int)cVar1;\n      pcVar3 = pcVar3 + 1;\n      cVar1 = *pcVar3;\n    }" ({ "{") (expression_statement "iVar2 = iVar2 * 0x1f + (int)cVar1;" (assignment_expression "iVar2 = iVar2 * 0x1f + (int)cVar1" (identifier "iVar2") (= "=") (binary_expression "iVar2 * 0x1f + (int)cVar1" (binary_expression "iVar2 * 0x1f" (identifier "iVar2") (* "*") (number_literal "0x1f")) (+ "+") (cast_expression "(int)cVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "cVar1")))) (; ";")) (expression_statement "pcVar3 = pcVar3 + 1;" (assignment_expression "pcVar3 = pcVar3 + 1" (identifier "pcVar3") (= "=") (binary_expression "pcVar3 + 1" (identifier "pcVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "cVar1 = *pcVar3;" (assignment_expression "cVar1 = *pcVar3" (identifier "cVar1") (= "=") (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3"))) (; ";")) (} "}"))) (} "}"))) (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

type_1 function_1(void *var_1)

{
  char var_2;
  type_2 var_3;
  char *var_4;
  char *p;
  
                    /* WARNING: Load size is inaccurate */
  var_3 = (type_2)*var_1;
  if (*var_1 != '\0') {
    var_4 = (char *)((long)var_1 + 1);
    var_2 = *(char *)((long)var_1 + 1);
    while (var_2 != '\0') {
      var_3 = var_3 * 0x1f + (int)var_2;
      var_4 = var_4 + 1;
      var_2 = *var_4;
    }
  }
  return (type_1)var_3;
}


(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))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (while_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))))))) (return_statement (identifier)))))

int MASKED(char *param_1)

{
  char cVar1;
  int iVar2;
  char *pcVar3;
  
  iVar2 = (int)*param_1;
  if (*param_1 != '\0') {
    pcVar3 = param_1 + 1;
    cVar1 = param_1[1];
    while (cVar1 != '\0') {
      iVar2 = iVar2 * 0x1f + (int)cVar1;
      pcVar3 = pcVar3 + 1;
      cVar1 = *pcVar3;
    }
  }
  return iVar2;
}

