
size_t gold::Stringpool_template<char>::string_hash(char *s,size_t length)

{
  size_t sVar1;
  byte *pbVar2;
  byte *pbVar3;
  
  if (length != 0) {
    sVar1 = 0x1505;
    pbVar2 = (byte *)s;
    do {
      pbVar3 = pbVar2 + 1;
      sVar1 = sVar1 * 0x21 + (uint)*pbVar2;
      pbVar2 = pbVar3;
    } while (pbVar3 != (byte *)(s + length));
    return sVar1;
  }
  return 0x1505;
}



int FUN_00148940(byte *param_1,int param_2)

{
  int iVar1;
  byte *pbVar2;
  byte *pbVar3;
  
  if (param_2 != 0) {
    iVar1 = 0x1505;
    pbVar2 = param_1;
    do {
      pbVar3 = pbVar2 + 1;
      iVar1 = iVar1 * 0x21 + (uint)*pbVar2;
      pbVar2 = pbVar3;
    } while (pbVar3 != param_1 + param_2);
    return iVar1;
  }
  return 0x1505;
}


PUSH EBX
MOV EBX,dword ptr [ESP + 0xc]
MOV EDX,dword ptr [ESP + 0x8]
TEST EBX,EBX
JZ 0x00148970
ADD EBX,EDX
MOV EAX,0x1505
LEA ESI,[ESI]
MOV ECX,EAX
ADD EDX,0x1
SHL ECX,0x5
ADD EAX,ECX
MOVZX ECX,byte ptr [EDX + -0x1]
ADD EAX,ECX
CMP EDX,EBX
JNZ 0x00148958
POP EBX
RET
MOV EAX,0x1505
POP EBX
RET
(translation_unit "int FUN_00148940(byte *param_1,int param_2)\n\n{\n  int iVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  \n  if (param_2 != 0) {\n    iVar1 = 0x1505;\n    pbVar2 = param_1;\n    do {\n      pbVar3 = pbVar2 + 1;\n      iVar1 = iVar1 * 0x21 + (uint)*pbVar2;\n      pbVar2 = pbVar3;\n    } while (pbVar3 != param_1 + param_2);\n    return iVar1;\n  }\n  return 0x1505;\n}\n\n" (function_definition "int FUN_00148940(byte *param_1,int param_2)\n\n{\n  int iVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  \n  if (param_2 != 0) {\n    iVar1 = 0x1505;\n    pbVar2 = param_1;\n    do {\n      pbVar3 = pbVar2 + 1;\n      iVar1 = iVar1 * 0x21 + (uint)*pbVar2;\n      pbVar2 = pbVar3;\n    } while (pbVar3 != param_1 + param_2);\n    return iVar1;\n  }\n  return 0x1505;\n}" primitive_type (function_declarator "FUN_00148940(byte *param_1,int param_2)" identifier (parameter_list "(byte *param_1,int param_2)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  \n  if (param_2 != 0) {\n    iVar1 = 0x1505;\n    pbVar2 = param_1;\n    do {\n      pbVar3 = pbVar2 + 1;\n      iVar1 = iVar1 * 0x21 + (uint)*pbVar2;\n      pbVar2 = pbVar3;\n    } while (pbVar3 != param_1 + param_2);\n    return iVar1;\n  }\n  return 0x1505;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "byte *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (if_statement "if (param_2 != 0) {\n    iVar1 = 0x1505;\n    pbVar2 = param_1;\n    do {\n      pbVar3 = pbVar2 + 1;\n      iVar1 = iVar1 * 0x21 + (uint)*pbVar2;\n      pbVar2 = pbVar3;\n    } while (pbVar3 != param_1 + param_2);\n    return iVar1;\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar1 = 0x1505;\n    pbVar2 = param_1;\n    do {\n      pbVar3 = pbVar2 + 1;\n      iVar1 = iVar1 * 0x21 + (uint)*pbVar2;\n      pbVar2 = pbVar3;\n    } while (pbVar3 != param_1 + param_2);\n    return iVar1;\n  }" { (expression_statement "iVar1 = 0x1505;" (assignment_expression "iVar1 = 0x1505" identifier = number_literal) ;) (expression_statement "pbVar2 = param_1;" (assignment_expression "pbVar2 = param_1" identifier = identifier) ;) (do_statement "do {\n      pbVar3 = pbVar2 + 1;\n      iVar1 = iVar1 * 0x21 + (uint)*pbVar2;\n      pbVar2 = pbVar3;\n    } while (pbVar3 != param_1 + param_2);" do (compound_statement "{\n      pbVar3 = pbVar2 + 1;\n      iVar1 = iVar1 * 0x21 + (uint)*pbVar2;\n      pbVar2 = pbVar3;\n    }" { (expression_statement "pbVar3 = pbVar2 + 1;" (assignment_expression "pbVar3 = pbVar2 + 1" identifier = (binary_expression "pbVar2 + 1" identifier + number_literal)) ;) (expression_statement "iVar1 = iVar1 * 0x21 + (uint)*pbVar2;" (assignment_expression "iVar1 = iVar1 * 0x21 + (uint)*pbVar2" identifier = (binary_expression "iVar1 * 0x21 + (uint)*pbVar2" (binary_expression "iVar1 * 0x21" identifier * number_literal) + (binary_expression "(uint)*pbVar2" (parenthesized_expression "(uint)" ( identifier )) * identifier))) ;) (expression_statement "pbVar2 = pbVar3;" (assignment_expression "pbVar2 = pbVar3" identifier = identifier) ;) }) while (parenthesized_expression "(pbVar3 != param_1 + param_2)" ( (binary_expression "pbVar3 != param_1 + param_2" identifier != (binary_expression "param_1 + param_2" identifier + identifier)) )) ;) (return_statement "return iVar1;" return identifier ;) })) (return_statement "return 0x1505;" return number_literal ;) })))
(translation_unit "size_t gold::Stringpool_template<char>::string_hash(char *s,size_t length)\n\n{\n  size_t sVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  \n  if (length != 0) {\n    sVar1 = 0x1505;\n    pbVar2 = (byte *)s;\n    do {\n      pbVar3 = pbVar2 + 1;\n      sVar1 = sVar1 * 0x21 + (uint)*pbVar2;\n      pbVar2 = pbVar3;\n    } while (pbVar3 != (byte *)(s + length));\n    return sVar1;\n  }\n  return 0x1505;\n}\n\n" (function_definition "size_t gold::Stringpool_template<char>::string_hash(char *s,size_t length)\n\n{\n  size_t sVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  \n  if (length != 0) {\n    sVar1 = 0x1505;\n    pbVar2 = (byte *)s;\n    do {\n      pbVar3 = pbVar2 + 1;\n      sVar1 = sVar1 * 0x21 + (uint)*pbVar2;\n      pbVar2 = pbVar3;\n    } while (pbVar3 != (byte *)(s + length));\n    return sVar1;\n  }\n  return 0x1505;\n}" primitive_type (ERROR "gold::Stringpool_template<char>::" identifier : : identifier < primitive_type > : :) (function_declarator "string_hash(char *s,size_t length)" identifier (parameter_list "(char *s,size_t length)" ( (parameter_declaration "char *s" primitive_type (pointer_declarator "*s" * identifier)) , (parameter_declaration "size_t length" primitive_type identifier) ))) (compound_statement "{\n  size_t sVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  \n  if (length != 0) {\n    sVar1 = 0x1505;\n    pbVar2 = (byte *)s;\n    do {\n      pbVar3 = pbVar2 + 1;\n      sVar1 = sVar1 * 0x21 + (uint)*pbVar2;\n      pbVar2 = pbVar3;\n    } while (pbVar3 != (byte *)(s + length));\n    return sVar1;\n  }\n  return 0x1505;\n}" { (declaration "size_t sVar1;" primitive_type identifier ;) (declaration "byte *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (if_statement "if (length != 0) {\n    sVar1 = 0x1505;\n    pbVar2 = (byte *)s;\n    do {\n      pbVar3 = pbVar2 + 1;\n      sVar1 = sVar1 * 0x21 + (uint)*pbVar2;\n      pbVar2 = pbVar3;\n    } while (pbVar3 != (byte *)(s + length));\n    return sVar1;\n  }" if (parenthesized_expression "(length != 0)" ( (binary_expression "length != 0" identifier != number_literal) )) (compound_statement "{\n    sVar1 = 0x1505;\n    pbVar2 = (byte *)s;\n    do {\n      pbVar3 = pbVar2 + 1;\n      sVar1 = sVar1 * 0x21 + (uint)*pbVar2;\n      pbVar2 = pbVar3;\n    } while (pbVar3 != (byte *)(s + length));\n    return sVar1;\n  }" { (expression_statement "sVar1 = 0x1505;" (assignment_expression "sVar1 = 0x1505" identifier = number_literal) ;) (expression_statement "pbVar2 = (byte *)s;" (assignment_expression "pbVar2 = (byte *)s" identifier = (cast_expression "(byte *)s" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (do_statement "do {\n      pbVar3 = pbVar2 + 1;\n      sVar1 = sVar1 * 0x21 + (uint)*pbVar2;\n      pbVar2 = pbVar3;\n    } while (pbVar3 != (byte *)(s + length));" do (compound_statement "{\n      pbVar3 = pbVar2 + 1;\n      sVar1 = sVar1 * 0x21 + (uint)*pbVar2;\n      pbVar2 = pbVar3;\n    }" { (expression_statement "pbVar3 = pbVar2 + 1;" (assignment_expression "pbVar3 = pbVar2 + 1" identifier = (binary_expression "pbVar2 + 1" identifier + number_literal)) ;) (expression_statement "sVar1 = sVar1 * 0x21 + (uint)*pbVar2;" (assignment_expression "sVar1 = sVar1 * 0x21 + (uint)*pbVar2" identifier = (binary_expression "sVar1 * 0x21 + (uint)*pbVar2" (binary_expression "sVar1 * 0x21" identifier * number_literal) + (binary_expression "(uint)*pbVar2" (parenthesized_expression "(uint)" ( identifier )) * identifier))) ;) (expression_statement "pbVar2 = pbVar3;" (assignment_expression "pbVar2 = pbVar3" identifier = identifier) ;) }) while (parenthesized_expression "(pbVar3 != (byte *)(s + length))" ( (binary_expression "pbVar3 != (byte *)(s + length)" identifier != (cast_expression "(byte *)(s + length)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(s + length)" ( (binary_expression "s + length" identifier + identifier) )))) )) ;) (return_statement "return sVar1;" return identifier ;) })) (return_statement "return 0x1505;" return number_literal ;) })))
(translation_unit "int FUN_00148940(byte *param_1,int param_2)\n\n{\n  int iVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  \n  if (param_2 != 0) {\n    iVar1 = 0x1505;\n    pbVar2 = param_1;\n    do {\n      pbVar3 = pbVar2 + 1;\n      iVar1 = iVar1 * 0x21 + (uint)*pbVar2;\n      pbVar2 = pbVar3;\n    } while (pbVar3 != param_1 + param_2);\n    return iVar1;\n  }\n  return 0x1505;\n}\n\n" (function_definition "int FUN_00148940(byte *param_1,int param_2)\n\n{\n  int iVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  \n  if (param_2 != 0) {\n    iVar1 = 0x1505;\n    pbVar2 = param_1;\n    do {\n      pbVar3 = pbVar2 + 1;\n      iVar1 = iVar1 * 0x21 + (uint)*pbVar2;\n      pbVar2 = pbVar3;\n    } while (pbVar3 != param_1 + param_2);\n    return iVar1;\n  }\n  return 0x1505;\n}" primitive_type (function_declarator "FUN_00148940(byte *param_1,int param_2)" identifier (parameter_list "(byte *param_1,int param_2)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  \n  if (param_2 != 0) {\n    iVar1 = 0x1505;\n    pbVar2 = param_1;\n    do {\n      pbVar3 = pbVar2 + 1;\n      iVar1 = iVar1 * 0x21 + (uint)*pbVar2;\n      pbVar2 = pbVar3;\n    } while (pbVar3 != param_1 + param_2);\n    return iVar1;\n  }\n  return 0x1505;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "byte *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (if_statement "if (param_2 != 0) {\n    iVar1 = 0x1505;\n    pbVar2 = param_1;\n    do {\n      pbVar3 = pbVar2 + 1;\n      iVar1 = iVar1 * 0x21 + (uint)*pbVar2;\n      pbVar2 = pbVar3;\n    } while (pbVar3 != param_1 + param_2);\n    return iVar1;\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar1 = 0x1505;\n    pbVar2 = param_1;\n    do {\n      pbVar3 = pbVar2 + 1;\n      iVar1 = iVar1 * 0x21 + (uint)*pbVar2;\n      pbVar2 = pbVar3;\n    } while (pbVar3 != param_1 + param_2);\n    return iVar1;\n  }" { (expression_statement "iVar1 = 0x1505;" (assignment_expression "iVar1 = 0x1505" identifier = number_literal) ;) (expression_statement "pbVar2 = param_1;" (assignment_expression "pbVar2 = param_1" identifier = identifier) ;) (do_statement "do {\n      pbVar3 = pbVar2 + 1;\n      iVar1 = iVar1 * 0x21 + (uint)*pbVar2;\n      pbVar2 = pbVar3;\n    } while (pbVar3 != param_1 + param_2);" do (compound_statement "{\n      pbVar3 = pbVar2 + 1;\n      iVar1 = iVar1 * 0x21 + (uint)*pbVar2;\n      pbVar2 = pbVar3;\n    }" { (expression_statement "pbVar3 = pbVar2 + 1;" (assignment_expression "pbVar3 = pbVar2 + 1" identifier = (binary_expression "pbVar2 + 1" identifier + number_literal)) ;) (expression_statement "iVar1 = iVar1 * 0x21 + (uint)*pbVar2;" (assignment_expression "iVar1 = iVar1 * 0x21 + (uint)*pbVar2" identifier = (binary_expression "iVar1 * 0x21 + (uint)*pbVar2" (binary_expression "iVar1 * 0x21" identifier * number_literal) + (binary_expression "(uint)*pbVar2" (parenthesized_expression "(uint)" ( identifier )) * identifier))) ;) (expression_statement "pbVar2 = pbVar3;" (assignment_expression "pbVar2 = pbVar3" identifier = identifier) ;) }) while (parenthesized_expression "(pbVar3 != param_1 + param_2)" ( (binary_expression "pbVar3 != param_1 + param_2" identifier != (binary_expression "param_1 + param_2" identifier + identifier)) )) ;) (return_statement "return iVar1;" return identifier ;) })) (return_statement "return 0x1505;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * LIT) + (binary_expression (parenthesized_expression ( IDENT )) * IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + IDENT)) )) ;) (return_statement return IDENT ;) })) (return_statement return LIT ;) })))
(function_definition "int FUN_00148940(byte *param_1,int param_2)\n\n{\n  int iVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  \n  if (param_2 != 0) {\n    iVar1 = 0x1505;\n    pbVar2 = param_1;\n    do {\n      pbVar3 = pbVar2 + 1;\n      iVar1 = iVar1 * 0x21 + (uint)*pbVar2;\n      pbVar2 = pbVar3;\n    } while (pbVar3 != param_1 + param_2);\n    return iVar1;\n  }\n  return 0x1505;\n}" (primitive_type "int") (function_declarator "FUN_00148940(byte *param_1,int param_2)" (identifier "FUN_00148940") (parameter_list "(byte *param_1,int param_2)" (( "(") (parameter_declaration "byte *param_1" (type_identifier "byte") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  \n  if (param_2 != 0) {\n    iVar1 = 0x1505;\n    pbVar2 = param_1;\n    do {\n      pbVar3 = pbVar2 + 1;\n      iVar1 = iVar1 * 0x21 + (uint)*pbVar2;\n      pbVar2 = pbVar3;\n    } while (pbVar3 != param_1 + param_2);\n    return iVar1;\n  }\n  return 0x1505;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "byte *pbVar2;" (type_identifier "byte") (pointer_declarator "*pbVar2" (* "*") (identifier "pbVar2")) (; ";")) (declaration "byte *pbVar3;" (type_identifier "byte") (pointer_declarator "*pbVar3" (* "*") (identifier "pbVar3")) (; ";")) (if_statement "if (param_2 != 0) {\n    iVar1 = 0x1505;\n    pbVar2 = param_1;\n    do {\n      pbVar3 = pbVar2 + 1;\n      iVar1 = iVar1 * 0x21 + (uint)*pbVar2;\n      pbVar2 = pbVar3;\n    } while (pbVar3 != param_1 + param_2);\n    return iVar1;\n  }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = 0x1505;\n    pbVar2 = param_1;\n    do {\n      pbVar3 = pbVar2 + 1;\n      iVar1 = iVar1 * 0x21 + (uint)*pbVar2;\n      pbVar2 = pbVar3;\n    } while (pbVar3 != param_1 + param_2);\n    return iVar1;\n  }" ({ "{") (expression_statement "iVar1 = 0x1505;" (assignment_expression "iVar1 = 0x1505" (identifier "iVar1") (= "=") (number_literal "0x1505")) (; ";")) (expression_statement "pbVar2 = param_1;" (assignment_expression "pbVar2 = param_1" (identifier "pbVar2") (= "=") (identifier "param_1")) (; ";")) (do_statement "do {\n      pbVar3 = pbVar2 + 1;\n      iVar1 = iVar1 * 0x21 + (uint)*pbVar2;\n      pbVar2 = pbVar3;\n    } while (pbVar3 != param_1 + param_2);" (do "do") (compound_statement "{\n      pbVar3 = pbVar2 + 1;\n      iVar1 = iVar1 * 0x21 + (uint)*pbVar2;\n      pbVar2 = pbVar3;\n    }" ({ "{") (expression_statement "pbVar3 = pbVar2 + 1;" (assignment_expression "pbVar3 = pbVar2 + 1" (identifier "pbVar3") (= "=") (binary_expression "pbVar2 + 1" (identifier "pbVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar1 = iVar1 * 0x21 + (uint)*pbVar2;" (assignment_expression "iVar1 = iVar1 * 0x21 + (uint)*pbVar2" (identifier "iVar1") (= "=") (binary_expression "iVar1 * 0x21 + (uint)*pbVar2" (binary_expression "iVar1 * 0x21" (identifier "iVar1") (* "*") (number_literal "0x21")) (+ "+") (binary_expression "(uint)*pbVar2" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar2")))) (; ";")) (expression_statement "pbVar2 = pbVar3;" (assignment_expression "pbVar2 = pbVar3" (identifier "pbVar2") (= "=") (identifier "pbVar3")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(pbVar3 != param_1 + param_2)" (( "(") (binary_expression "pbVar3 != param_1 + param_2" (identifier "pbVar3") (!= "!=") (binary_expression "param_1 + param_2" (identifier "param_1") (+ "+") (identifier "param_2"))) () ")")) (; ";")) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (return_statement "return 0x1505;" (return "return") (number_literal "0x1505") (; ";")) (} "}")))

size_t gold::Stringpool_template<char>::function_1(char *var_5,size_t var_1)

{
  size_t var_3;
  type_1 *var_2;
  type_1 *var_4;
  
  if (var_1 != 0) {
    var_3 = 0x1505;
    var_2 = (type_1 *)var_5;
    do {
      var_4 = var_2 + 1;
      var_3 = var_3 * 0x21 + (uint)*var_2;
      var_2 = var_4;
    } while (var_4 != (type_1 *)(var_5 + var_1));
    return var_3;
  }
  return 0x1505;
}


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

int MASKED(byte *param_1,int param_2)

{
  int iVar1;
  byte *pbVar2;
  byte *pbVar3;
  
  if (param_2 != 0) {
    iVar1 = 0x1505;
    pbVar2 = param_1;
    do {
      pbVar3 = pbVar2 + 1;
      iVar1 = iVar1 * 0x21 + (uint)*pbVar2;
      pbVar2 = pbVar3;
    } while (pbVar3 != param_1 + param_2);
    return iVar1;
  }
  return 0x1505;
}

