
uint hash_string(char *s)

{
  char cVar1;
  uint uVar2;
  
  uVar2 = 0x811c9dc5;
  cVar1 = *s;
  while (cVar1 != '\0') {
    uVar2 = (int)cVar1 ^ uVar2 * 0x1000193;
    s = s + 1;
    cVar1 = *s;
  }
  return uVar2;
}



uint hash_string(char *param_1)

{
  char cVar1;
  uint uVar2;
  
  uVar2 = 0x811c9dc5;
  cVar1 = *param_1;
  while (cVar1 != '\0') {
    uVar2 = (int)cVar1 ^ uVar2 * 0x1000193;
    param_1 = param_1 + 1;
    cVar1 = *param_1;
  }
  return uVar2;
}


MOVZX EDX,byte ptr [RDI]
MOV EAX,0x811c9dc5
TEST DL,DL
JZ 0x0016d73d
IMUL ECX,EAX,0x1000193
MOVSX EAX,DL
XOR EAX,ECX
ADD RDI,0x1
MOVZX EDX,byte ptr [RDI]
TEST DL,DL
JNZ 0x0016d727
RET
(translation_unit "uint hash_string(char *param_1)\n\n{\n  char cVar1;\n  uint uVar2;\n  \n  uVar2 = 0x811c9dc5;\n  cVar1 = *param_1;\n  while (cVar1 != '\0') {\n    uVar2 = (int)cVar1 ^ uVar2 * 0x1000193;\n    param_1 = param_1 + 1;\n    cVar1 = *param_1;\n  }\n  return uVar2;\n}\n\n" (function_definition "uint hash_string(char *param_1)\n\n{\n  char cVar1;\n  uint uVar2;\n  \n  uVar2 = 0x811c9dc5;\n  cVar1 = *param_1;\n  while (cVar1 != '\0') {\n    uVar2 = (int)cVar1 ^ uVar2 * 0x1000193;\n    param_1 = param_1 + 1;\n    cVar1 = *param_1;\n  }\n  return uVar2;\n}" type_identifier (function_declarator "hash_string(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  uint uVar2;\n  \n  uVar2 = 0x811c9dc5;\n  cVar1 = *param_1;\n  while (cVar1 != '\0') {\n    uVar2 = (int)cVar1 ^ uVar2 * 0x1000193;\n    param_1 = param_1 + 1;\n    cVar1 = *param_1;\n  }\n  return uVar2;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (expression_statement "uVar2 = 0x811c9dc5;" (assignment_expression "uVar2 = 0x811c9dc5" identifier = number_literal) ;) (expression_statement "cVar1 = *param_1;" (assignment_expression "cVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (while_statement "while (cVar1 != '\0') {\n    uVar2 = (int)cVar1 ^ uVar2 * 0x1000193;\n    param_1 = param_1 + 1;\n    cVar1 = *param_1;\n  }" while (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    uVar2 = (int)cVar1 ^ uVar2 * 0x1000193;\n    param_1 = param_1 + 1;\n    cVar1 = *param_1;\n  }" { (expression_statement "uVar2 = (int)cVar1 ^ uVar2 * 0x1000193;" (assignment_expression "uVar2 = (int)cVar1 ^ uVar2 * 0x1000193" identifier = (binary_expression "(int)cVar1 ^ uVar2 * 0x1000193" (cast_expression "(int)cVar1" ( (type_descriptor "int" primitive_type) ) identifier) ^ (binary_expression "uVar2 * 0x1000193" identifier * number_literal))) ;) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "cVar1 = *param_1;" (assignment_expression "cVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) })) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "uint hash_string(char *s)\n\n{\n  char cVar1;\n  uint uVar2;\n  \n  uVar2 = 0x811c9dc5;\n  cVar1 = *s;\n  while (cVar1 != '\0') {\n    uVar2 = (int)cVar1 ^ uVar2 * 0x1000193;\n    s = s + 1;\n    cVar1 = *s;\n  }\n  return uVar2;\n}\n\n" (function_definition "uint hash_string(char *s)\n\n{\n  char cVar1;\n  uint uVar2;\n  \n  uVar2 = 0x811c9dc5;\n  cVar1 = *s;\n  while (cVar1 != '\0') {\n    uVar2 = (int)cVar1 ^ uVar2 * 0x1000193;\n    s = s + 1;\n    cVar1 = *s;\n  }\n  return uVar2;\n}" type_identifier (function_declarator "hash_string(char *s)" identifier (parameter_list "(char *s)" ( (parameter_declaration "char *s" primitive_type (pointer_declarator "*s" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  uint uVar2;\n  \n  uVar2 = 0x811c9dc5;\n  cVar1 = *s;\n  while (cVar1 != '\0') {\n    uVar2 = (int)cVar1 ^ uVar2 * 0x1000193;\n    s = s + 1;\n    cVar1 = *s;\n  }\n  return uVar2;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (expression_statement "uVar2 = 0x811c9dc5;" (assignment_expression "uVar2 = 0x811c9dc5" identifier = number_literal) ;) (expression_statement "cVar1 = *s;" (assignment_expression "cVar1 = *s" identifier = (pointer_expression "*s" * identifier)) ;) (while_statement "while (cVar1 != '\0') {\n    uVar2 = (int)cVar1 ^ uVar2 * 0x1000193;\n    s = s + 1;\n    cVar1 = *s;\n  }" while (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    uVar2 = (int)cVar1 ^ uVar2 * 0x1000193;\n    s = s + 1;\n    cVar1 = *s;\n  }" { (expression_statement "uVar2 = (int)cVar1 ^ uVar2 * 0x1000193;" (assignment_expression "uVar2 = (int)cVar1 ^ uVar2 * 0x1000193" identifier = (binary_expression "(int)cVar1 ^ uVar2 * 0x1000193" (cast_expression "(int)cVar1" ( (type_descriptor "int" primitive_type) ) identifier) ^ (binary_expression "uVar2 * 0x1000193" identifier * number_literal))) ;) (expression_statement "s = s + 1;" (assignment_expression "s = s + 1" identifier = (binary_expression "s + 1" identifier + number_literal)) ;) (expression_statement "cVar1 = *s;" (assignment_expression "cVar1 = *s" identifier = (pointer_expression "*s" * identifier)) ;) })) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "uint hash_string(char *param_1)\n\n{\n  char cVar1;\n  uint uVar2;\n  \n  uVar2 = 0x811c9dc5;\n  cVar1 = *param_1;\n  while (cVar1 != '\0') {\n    uVar2 = (int)cVar1 ^ uVar2 * 0x1000193;\n    param_1 = param_1 + 1;\n    cVar1 = *param_1;\n  }\n  return uVar2;\n}\n\n" (function_definition "uint hash_string(char *param_1)\n\n{\n  char cVar1;\n  uint uVar2;\n  \n  uVar2 = 0x811c9dc5;\n  cVar1 = *param_1;\n  while (cVar1 != '\0') {\n    uVar2 = (int)cVar1 ^ uVar2 * 0x1000193;\n    param_1 = param_1 + 1;\n    cVar1 = *param_1;\n  }\n  return uVar2;\n}" type_identifier (function_declarator "hash_string(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  uint uVar2;\n  \n  uVar2 = 0x811c9dc5;\n  cVar1 = *param_1;\n  while (cVar1 != '\0') {\n    uVar2 = (int)cVar1 ^ uVar2 * 0x1000193;\n    param_1 = param_1 + 1;\n    cVar1 = *param_1;\n  }\n  return uVar2;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (expression_statement "uVar2 = 0x811c9dc5;" (assignment_expression "uVar2 = 0x811c9dc5" identifier = number_literal) ;) (expression_statement "cVar1 = *param_1;" (assignment_expression "cVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (while_statement "while (cVar1 != '\0') {\n    uVar2 = (int)cVar1 ^ uVar2 * 0x1000193;\n    param_1 = param_1 + 1;\n    cVar1 = *param_1;\n  }" while (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    uVar2 = (int)cVar1 ^ uVar2 * 0x1000193;\n    param_1 = param_1 + 1;\n    cVar1 = *param_1;\n  }" { (expression_statement "uVar2 = (int)cVar1 ^ uVar2 * 0x1000193;" (assignment_expression "uVar2 = (int)cVar1 ^ uVar2 * 0x1000193" identifier = (binary_expression "(int)cVar1 ^ uVar2 * 0x1000193" (cast_expression "(int)cVar1" ( (type_descriptor "int" primitive_type) ) identifier) ^ (binary_expression "uVar2 * 0x1000193" identifier * number_literal))) ;) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "cVar1 = *param_1;" (assignment_expression "cVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) })) (return_statement "return uVar2;" 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 ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) ^ (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (return_statement return IDENT ;) })))
(function_definition "uint hash_string(char *param_1)\n\n{\n  char cVar1;\n  uint uVar2;\n  \n  uVar2 = 0x811c9dc5;\n  cVar1 = *param_1;\n  while (cVar1 != '\0') {\n    uVar2 = (int)cVar1 ^ uVar2 * 0x1000193;\n    param_1 = param_1 + 1;\n    cVar1 = *param_1;\n  }\n  return uVar2;\n}" (type_identifier "uint") (function_declarator "hash_string(char *param_1)" (identifier "hash_string") (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  uint uVar2;\n  \n  uVar2 = 0x811c9dc5;\n  cVar1 = *param_1;\n  while (cVar1 != '\0') {\n    uVar2 = (int)cVar1 ^ uVar2 * 0x1000193;\n    param_1 = param_1 + 1;\n    cVar1 = *param_1;\n  }\n  return uVar2;\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (expression_statement "uVar2 = 0x811c9dc5;" (assignment_expression "uVar2 = 0x811c9dc5" (identifier "uVar2") (= "=") (number_literal "0x811c9dc5")) (; ";")) (expression_statement "cVar1 = *param_1;" (assignment_expression "cVar1 = *param_1" (identifier "cVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (while_statement "while (cVar1 != '\0') {\n    uVar2 = (int)cVar1 ^ uVar2 * 0x1000193;\n    param_1 = param_1 + 1;\n    cVar1 = *param_1;\n  }" (while "while") (parenthesized_expression "(cVar1 != '\0')" (( "(") (binary_expression "cVar1 != '\0'" (identifier "cVar1") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    uVar2 = (int)cVar1 ^ uVar2 * 0x1000193;\n    param_1 = param_1 + 1;\n    cVar1 = *param_1;\n  }" ({ "{") (expression_statement "uVar2 = (int)cVar1 ^ uVar2 * 0x1000193;" (assignment_expression "uVar2 = (int)cVar1 ^ uVar2 * 0x1000193" (identifier "uVar2") (= "=") (binary_expression "(int)cVar1 ^ uVar2 * 0x1000193" (cast_expression "(int)cVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "cVar1")) (^ "^") (binary_expression "uVar2 * 0x1000193" (identifier "uVar2") (* "*") (number_literal "0x1000193")))) (; ";")) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" (identifier "param_1") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "cVar1 = *param_1;" (assignment_expression "cVar1 = *param_1" (identifier "cVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (} "}"))) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}")))

type_1 function_1(char *var_3)

{
  char var_1;
  type_1 var_2;
  
  var_2 = 0x811c9dc5;
  var_1 = *var_3;
  while (var_1 != '\0') {
    var_2 = (int)var_1 ^ var_2 * 0x1000193;
    var_3 = var_3 + 1;
    var_1 = *var_3;
  }
  return var_2;
}


(translation_unit (function_definition type: (type_identifier) 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: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (binary_expression left: (identifier) right: (number_literal))))) (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)))))

uint MASKED(char *param_1)

{
  char cVar1;
  uint uVar2;
  
  uVar2 = 0x811c9dc5;
  cVar1 = *param_1;
  while (cVar1 != '\0') {
    uVar2 = (int)cVar1 ^ uVar2 * 0x1000193;
    param_1 = param_1 + 1;
    cVar1 = *param_1;
  }
  return uVar2;
}

