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

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

{
  size_t length;
  size_t sVar1;
  
  this->string = s;
  length = strlen(s);
  this->length = length;
  sVar1 = string_hash(s,length);
  this->hash_code = sVar1;
  return;
}



void FUN_00219100(undefined8 *param_1,char *param_2)

{
  size_t sVar1;
  undefined8 uVar2;
  
  *param_1 = param_2;
  sVar1 = strlen(param_2);
  param_1[1] = sVar1;
  uVar2 = FUN_00218ea0(param_2,sVar1);
  param_1[2] = uVar2;
  return;
}


PUSH RBP
MOV RBP,RSI
PUSH RBX
MOV RBX,RDI
MOV RDI,RSI
SUB RSP,0x8
MOV qword ptr [RBX],RSI
CALL 0x0013e490
MOV RDI,RBP
MOV qword ptr [RBX + 0x8],RAX
MOV RSI,RAX
CALL 0x00218ea0
MOV qword ptr [RBX + 0x10],RAX
ADD RSP,0x8
POP RBX
POP RBP
RET
(translation_unit "void FUN_00219100(undefined8 *param_1,char *param_2)\n\n{\n  size_t sVar1;\n  undefined8 uVar2;\n  \n  *param_1 = param_2;\n  sVar1 = strlen(param_2);\n  param_1[1] = sVar1;\n  uVar2 = FUN_00218ea0(param_2,sVar1);\n  param_1[2] = uVar2;\n  return;\n}\n\n" (function_definition "void FUN_00219100(undefined8 *param_1,char *param_2)\n\n{\n  size_t sVar1;\n  undefined8 uVar2;\n  \n  *param_1 = param_2;\n  sVar1 = strlen(param_2);\n  param_1[1] = sVar1;\n  uVar2 = FUN_00218ea0(param_2,sVar1);\n  param_1[2] = uVar2;\n  return;\n}" primitive_type (function_declarator "FUN_00219100(undefined8 *param_1,char *param_2)" identifier (parameter_list "(undefined8 *param_1,char *param_2)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  size_t sVar1;\n  undefined8 uVar2;\n  \n  *param_1 = param_2;\n  sVar1 = strlen(param_2);\n  param_1[1] = sVar1;\n  uVar2 = FUN_00218ea0(param_2,sVar1);\n  param_1[2] = uVar2;\n  return;\n}" { (declaration "size_t sVar1;" primitive_type identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "sVar1 = strlen(param_2);" (assignment_expression "sVar1 = strlen(param_2)" identifier = (call_expression "strlen(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "param_1[1] = sVar1;" (assignment_expression "param_1[1] = sVar1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar2 = FUN_00218ea0(param_2,sVar1);" (assignment_expression "uVar2 = FUN_00218ea0(param_2,sVar1)" identifier = (call_expression "FUN_00218ea0(param_2,sVar1)" identifier (argument_list "(param_2,sVar1)" ( identifier , identifier )))) ;) (expression_statement "param_1[2] = uVar2;" (assignment_expression "param_1[2] = uVar2" (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  size_t length;\n  size_t sVar1;\n  \n  this->string = s;\n  length = strlen(s);\n  this->length = length;\n  sVar1 = string_hash(s,length);\n  this->hash_code = sVar1;\n  return;\n}\n\n" comment (function_definition "void __thiscall gold::Stringpool_template<char>::Hashkey::Hashkey(Hashkey *this,char *s)\n\n{\n  size_t length;\n  size_t sVar1;\n  \n  this->string = s;\n  length = strlen(s);\n  this->length = length;\n  sVar1 = string_hash(s,length);\n  this->hash_code = sVar1;\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  size_t length;\n  size_t sVar1;\n  \n  this->string = s;\n  length = strlen(s);\n  this->length = length;\n  sVar1 = string_hash(s,length);\n  this->hash_code = sVar1;\n  return;\n}" { (declaration "size_t length;" primitive_type identifier ;) (declaration "size_t sVar1;" primitive_type identifier ;) (expression_statement "this->string = s;" (assignment_expression "this->string = s" (field_expression "this->string" identifier -> field_identifier) = identifier) ;) (expression_statement "length = strlen(s);" (assignment_expression "length = strlen(s)" identifier = (call_expression "strlen(s)" identifier (argument_list "(s)" ( identifier )))) ;) (expression_statement "this->length = length;" (assignment_expression "this->length = length" (field_expression "this->length" identifier -> field_identifier) = identifier) ;) (expression_statement "sVar1 = string_hash(s,length);" (assignment_expression "sVar1 = string_hash(s,length)" identifier = (call_expression "string_hash(s,length)" identifier (argument_list "(s,length)" ( identifier , identifier )))) ;) (expression_statement "this->hash_code = sVar1;" (assignment_expression "this->hash_code = sVar1" (field_expression "this->hash_code" identifier -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00219100(undefined8 *param_1,char *param_2)\n\n{\n  size_t sVar1;\n  undefined8 uVar2;\n  \n  *param_1 = param_2;\n  sVar1 = strlen(param_2);\n  param_1[1] = sVar1;\n  uVar2 = FUN_00218ea0(param_2,sVar1);\n  param_1[2] = uVar2;\n  return;\n}\n\n" (function_definition "void FUN_00219100(undefined8 *param_1,char *param_2)\n\n{\n  size_t sVar1;\n  undefined8 uVar2;\n  \n  *param_1 = param_2;\n  sVar1 = strlen(param_2);\n  param_1[1] = sVar1;\n  uVar2 = FUN_00218ea0(param_2,sVar1);\n  param_1[2] = uVar2;\n  return;\n}" primitive_type (function_declarator "FUN_00219100(undefined8 *param_1,char *param_2)" identifier (parameter_list "(undefined8 *param_1,char *param_2)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  size_t sVar1;\n  undefined8 uVar2;\n  \n  *param_1 = param_2;\n  sVar1 = strlen(param_2);\n  param_1[1] = sVar1;\n  uVar2 = FUN_00218ea0(param_2,sVar1);\n  param_1[2] = uVar2;\n  return;\n}" { (declaration "size_t sVar1;" primitive_type identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "sVar1 = strlen(param_2);" (assignment_expression "sVar1 = strlen(param_2)" identifier = (call_expression "strlen(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "param_1[1] = sVar1;" (assignment_expression "param_1[1] = sVar1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar2 = FUN_00218ea0(param_2,sVar1);" (assignment_expression "uVar2 = FUN_00218ea0(param_2,sVar1)" identifier = (call_expression "FUN_00218ea0(param_2,sVar1)" identifier (argument_list "(param_2,sVar1)" ( identifier , identifier )))) ;) (expression_statement "param_1[2] = uVar2;" (assignment_expression "param_1[2] = uVar2" (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 IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_00219100(undefined8 *param_1,char *param_2)\n\n{\n  size_t sVar1;\n  undefined8 uVar2;\n  \n  *param_1 = param_2;\n  sVar1 = strlen(param_2);\n  param_1[1] = sVar1;\n  uVar2 = FUN_00218ea0(param_2,sVar1);\n  param_1[2] = uVar2;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00219100(undefined8 *param_1,char *param_2)" (identifier "FUN_00219100") (parameter_list "(undefined8 *param_1,char *param_2)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (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  size_t sVar1;\n  undefined8 uVar2;\n  \n  *param_1 = param_2;\n  sVar1 = strlen(param_2);\n  param_1[1] = sVar1;\n  uVar2 = FUN_00218ea0(param_2,sVar1);\n  param_1[2] = uVar2;\n  return;\n}" ({ "{") (declaration "size_t sVar1;" (primitive_type "size_t") (identifier "sVar1") (; ";")) (declaration "undefined8 uVar2;" (type_identifier "undefined8") (identifier "uVar2") (; ";")) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "sVar1 = strlen(param_2);" (assignment_expression "sVar1 = strlen(param_2)" (identifier "sVar1") (= "=") (call_expression "strlen(param_2)" (identifier "strlen") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "param_1[1] = sVar1;" (assignment_expression "param_1[1] = sVar1" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "sVar1")) (; ";")) (expression_statement "uVar2 = FUN_00218ea0(param_2,sVar1);" (assignment_expression "uVar2 = FUN_00218ea0(param_2,sVar1)" (identifier "uVar2") (= "=") (call_expression "FUN_00218ea0(param_2,sVar1)" (identifier "FUN_00218ea0") (argument_list "(param_2,sVar1)" (( "(") (identifier "param_2") (, ",") (identifier "sVar1") () ")")))) (; ";")) (expression_statement "param_1[2] = uVar2;" (assignment_expression "param_1[2] = uVar2" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar2")) (; ";")) (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)

{
  size_t length;
  size_t sVar1;
  
  this->string = s;
  length = var_1(s);
  this->length = length;
  sVar1 = var_2(s,length);
  this->hash_code = sVar1;
  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: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) 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(undefined8 *param_1,char *param_2)

{
  size_t sVar1;
  undefined8 uVar2;
  
  *param_1 = param_2;
  sVar1 = strlen(param_2);
  param_1[1] = sVar1;
  uVar2 = FUN_00218ea0(param_2,sVar1);
  param_1[2] = uVar2;
  return;
}

