
/* DWARF original prototype: void Hashkey(Hashkey * this, char * s) */

void __thiscall gold::Stringpool_template<char>::Hashkey::Hashkey(Hashkey *this,char *s)

{
  undefined *puVar1;
  size_t sVar2;
  
  puVar1 = PTR_strlen_0043677c;
  this->string = s;
  sVar2 = (*(code *)puVar1)(s);
  this->length = sVar2;
  sVar2 = string_hash(s,sVar2);
  this->hash_code = sVar2;
  return;
}



void FUN_002260cc(undefined4 *param_1,char *param_2)

{
  undefined *puVar1;
  uint uVar2;
  undefined4 uVar3;
  
  puVar1 = PTR_strlen_0043677c;
  *param_1 = param_2;
  uVar2 = (*(code *)puVar1)(param_2);
  param_1[1] = uVar2;
  uVar3 = gold::Stringpool_template<char>::string_hash(param_2,uVar2);
  param_1[2] = uVar3;
  return;
}


lui gp,0x21
addiu gp,gp,0x4104
addu gp,gp,t9
addiu sp,sp,-0x28
lw t9,-0x3a54(gp)
sw s0,0x1c(sp)
or s0,a0,zero
sw gp,0x10(sp)
or a0,a1,zero
sw ra,0x24(sp)
sw s1,0x20(sp)
or s1,a1,zero
jalr t9
_sw a1,0x0(s0)
or a0,s1,zero
lw gp,0x10(sp)
or a1,v0,zero
lw t9,-0x505c(gp)
bal 0x00225e18
_sw v0,0x4(s0)
lw ra,0x24(sp)
lw s1,0x20(sp)
sw v0,0x8(s0)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "void FUN_002260cc(undefined4 *param_1,char *param_2)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  \n  puVar1 = PTR_strlen_0043677c;\n  *param_1 = param_2;\n  uVar2 = (*(code *)puVar1)(param_2);\n  param_1[1] = uVar2;\n  uVar3 = gold::Stringpool_template<char>::string_hash(param_2,uVar2);\n  param_1[2] = uVar3;\n  return;\n}\n\n" (function_definition "void FUN_002260cc(undefined4 *param_1,char *param_2)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  \n  puVar1 = PTR_strlen_0043677c;\n  *param_1 = param_2;\n  uVar2 = (*(code *)puVar1)(param_2);\n  param_1[1] = uVar2;\n  uVar3 = gold::Stringpool_template<char>::string_hash(param_2,uVar2);\n  param_1[2] = uVar3;\n  return;\n}" primitive_type (function_declarator "FUN_002260cc(undefined4 *param_1,char *param_2)" identifier (parameter_list "(undefined4 *param_1,char *param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  \n  puVar1 = PTR_strlen_0043677c;\n  *param_1 = param_2;\n  uVar2 = (*(code *)puVar1)(param_2);\n  param_1[1] = uVar2;\n  uVar3 = gold::Stringpool_template<char>::string_hash(param_2,uVar2);\n  param_1[2] = uVar3;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (expression_statement "puVar1 = PTR_strlen_0043677c;" (assignment_expression "puVar1 = PTR_strlen_0043677c" identifier = identifier) ;) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "uVar2 = (*(code *)puVar1)(param_2);" (assignment_expression "uVar2 = (*(code *)puVar1)(param_2)" identifier = (call_expression "(*(code *)puVar1)(param_2)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "param_1[1] = uVar2;" (assignment_expression "param_1[1] = uVar2" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (ERROR "uVar3 = gold::" (assignment_expression "uVar3 = gold" identifier = identifier) : :) (expression_statement "Stringpool_template<char>::string_hash(param_2,uVar2);" (binary_expression "Stringpool_template<char>::string_hash(param_2,uVar2)" (binary_expression "Stringpool_template<char" identifier < identifier) > (ERROR "::" : :) (call_expression "string_hash(param_2,uVar2)" identifier (argument_list "(param_2,uVar2)" ( identifier , identifier )))) ;) (expression_statement "param_1[2] = uVar3;" (assignment_expression "param_1[2] = uVar3" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original prototype: void Hashkey(Hashkey * this, char * s) */\n\nvoid __thiscall gold::Stringpool_template<char>::Hashkey::Hashkey(Hashkey *this,char *s)\n\n{\n  undefined *puVar1;\n  size_t sVar2;\n  \n  puVar1 = PTR_strlen_0043677c;\n  this->string = s;\n  sVar2 = (*(code *)puVar1)(s);\n  this->length = sVar2;\n  sVar2 = string_hash(s,sVar2);\n  this->hash_code = sVar2;\n  return;\n}\n\n" comment (function_definition "void __thiscall gold::Stringpool_template<char>::Hashkey::Hashkey(Hashkey *this,char *s)\n\n{\n  undefined *puVar1;\n  size_t sVar2;\n  \n  puVar1 = PTR_strlen_0043677c;\n  this->string = s;\n  sVar2 = (*(code *)puVar1)(s);\n  this->length = sVar2;\n  sVar2 = string_hash(s,sVar2);\n  this->hash_code = sVar2;\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Stringpool_template<char>::Hashkey::" identifier : : identifier < primitive_type > : : identifier : :) (function_declarator "Hashkey(Hashkey *this,char *s)" identifier (parameter_list "(Hashkey *this,char *s)" ( (parameter_declaration "Hashkey *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "char *s" primitive_type (pointer_declarator "*s" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  size_t sVar2;\n  \n  puVar1 = PTR_strlen_0043677c;\n  this->string = s;\n  sVar2 = (*(code *)puVar1)(s);\n  this->length = sVar2;\n  sVar2 = string_hash(s,sVar2);\n  this->hash_code = sVar2;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "size_t sVar2;" primitive_type identifier ;) (expression_statement "puVar1 = PTR_strlen_0043677c;" (assignment_expression "puVar1 = PTR_strlen_0043677c" identifier = identifier) ;) (expression_statement "this->string = s;" (assignment_expression "this->string = s" (field_expression "this->string" identifier -> field_identifier) = identifier) ;) (expression_statement "sVar2 = (*(code *)puVar1)(s);" (assignment_expression "sVar2 = (*(code *)puVar1)(s)" identifier = (call_expression "(*(code *)puVar1)(s)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(s)" ( identifier )))) ;) (expression_statement "this->length = sVar2;" (assignment_expression "this->length = sVar2" (field_expression "this->length" identifier -> field_identifier) = identifier) ;) (expression_statement "sVar2 = string_hash(s,sVar2);" (assignment_expression "sVar2 = string_hash(s,sVar2)" identifier = (call_expression "string_hash(s,sVar2)" identifier (argument_list "(s,sVar2)" ( identifier , identifier )))) ;) (expression_statement "this->hash_code = sVar2;" (assignment_expression "this->hash_code = sVar2" (field_expression "this->hash_code" identifier -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_002260cc(undefined4 *param_1,char *param_2)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  \n  puVar1 = PTR_strlen_0043677c;\n  *param_1 = param_2;\n  uVar2 = (*(code *)puVar1)(param_2);\n  param_1[1] = uVar2;\n  uVar3 = gold::Stringpool_template<char>::string_hash(param_2,uVar2);\n  param_1[2] = uVar3;\n  return;\n}\n\n" (function_definition "void FUN_002260cc(undefined4 *param_1,char *param_2)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  \n  puVar1 = PTR_strlen_0043677c;\n  *param_1 = param_2;\n  uVar2 = (*(code *)puVar1)(param_2);\n  param_1[1] = uVar2;\n  uVar3 = gold::Stringpool_template<char>::string_hash(param_2,uVar2);\n  param_1[2] = uVar3;\n  return;\n}" primitive_type (function_declarator "FUN_002260cc(undefined4 *param_1,char *param_2)" identifier (parameter_list "(undefined4 *param_1,char *param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  \n  puVar1 = PTR_strlen_0043677c;\n  *param_1 = param_2;\n  uVar2 = (*(code *)puVar1)(param_2);\n  param_1[1] = uVar2;\n  uVar3 = gold::Stringpool_template<char>::string_hash(param_2,uVar2);\n  param_1[2] = uVar3;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (expression_statement "puVar1 = PTR_strlen_0043677c;" (assignment_expression "puVar1 = PTR_strlen_0043677c" identifier = identifier) ;) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "uVar2 = (*(code *)puVar1)(param_2);" (assignment_expression "uVar2 = (*(code *)puVar1)(param_2)" identifier = (call_expression "(*(code *)puVar1)(param_2)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "param_1[1] = uVar2;" (assignment_expression "param_1[1] = uVar2" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (ERROR "uVar3 = gold::" (assignment_expression "uVar3 = gold" identifier = identifier) : :) (expression_statement "Stringpool_template<char>::string_hash(param_2,uVar2);" (binary_expression "Stringpool_template<char>::string_hash(param_2,uVar2)" (binary_expression "Stringpool_template<char" identifier < identifier) > (ERROR "::" : :) (call_expression "string_hash(param_2,uVar2)" identifier (argument_list "(param_2,uVar2)" ( identifier , identifier )))) ;) (expression_statement "param_1[2] = uVar3;" (assignment_expression "param_1[2] = uVar3" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (ERROR (assignment_expression IDENT = IDENT) : :) (expression_statement (binary_expression (binary_expression IDENT < IDENT) > (ERROR : :) (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_002260cc(undefined4 *param_1,char *param_2)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  \n  puVar1 = PTR_strlen_0043677c;\n  *param_1 = param_2;\n  uVar2 = (*(code *)puVar1)(param_2);\n  param_1[1] = uVar2;\n  uVar3 = gold::Stringpool_template<char>::string_hash(param_2,uVar2);\n  param_1[2] = uVar3;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_002260cc(undefined4 *param_1,char *param_2)" (identifier "FUN_002260cc") (parameter_list "(undefined4 *param_1,char *param_2)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  \n  puVar1 = PTR_strlen_0043677c;\n  *param_1 = param_2;\n  uVar2 = (*(code *)puVar1)(param_2);\n  param_1[1] = uVar2;\n  uVar3 = gold::Stringpool_template<char>::string_hash(param_2,uVar2);\n  param_1[2] = uVar3;\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (expression_statement "puVar1 = PTR_strlen_0043677c;" (assignment_expression "puVar1 = PTR_strlen_0043677c" (identifier "puVar1") (= "=") (identifier "PTR_strlen_0043677c")) (; ";")) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "uVar2 = (*(code *)puVar1)(param_2);" (assignment_expression "uVar2 = (*(code *)puVar1)(param_2)" (identifier "uVar2") (= "=") (call_expression "(*(code *)puVar1)(param_2)" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "param_1[1] = uVar2;" (assignment_expression "param_1[1] = uVar2" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar2")) (; ";")) (ERROR "uVar3 = gold::" (assignment_expression "uVar3 = gold" (identifier "uVar3") (= "=") (identifier "gold")) (: ":") (: ":")) (expression_statement "Stringpool_template<char>::string_hash(param_2,uVar2);" (binary_expression "Stringpool_template<char>::string_hash(param_2,uVar2)" (binary_expression "Stringpool_template<char" (identifier "Stringpool_template") (< "<") (identifier "char")) (> ">") (ERROR "::" (: ":") (: ":")) (call_expression "string_hash(param_2,uVar2)" (identifier "string_hash") (argument_list "(param_2,uVar2)" (( "(") (identifier "param_2") (, ",") (identifier "uVar2") () ")")))) (; ";")) (expression_statement "param_1[2] = uVar3;" (assignment_expression "param_1[2] = uVar3" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar3")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* DWARF original prototype: void Hashkey(Hashkey * this, char * s) */

void __thiscall gold::Stringpool_template<char>::function_1::function_1(function_1 *this,char *s)

{
  type_1 *puVar1;
  size_t sVar2;
  
  puVar1 = PTR_strlen_0043677c;
  this->string = s;
  sVar2 = (*(type_2 *)puVar1)(s);
  this->length = sVar2;
  sVar2 = var_1(s,sVar2);
  this->hash_code = sVar2;
  return;
}


(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: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (ERROR (assignment_expression left: (identifier) right: (identifier))) (expression_statement (binary_expression left: (binary_expression left: (identifier) right: (identifier)) (ERROR) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (return_statement))))

void MASKED(undefined4 *param_1,char *param_2)

{
  undefined *puVar1;
  uint uVar2;
  undefined4 uVar3;
  
  puVar1 = PTR_strlen_0043677c;
  *param_1 = param_2;
  uVar2 = (*(code *)puVar1)(param_2);
  param_1[1] = uVar2;
  uVar3 = gold::Stringpool_template<char>::string_hash(param_2,uVar2);
  param_1[2] = uVar3;
  return;
}

