
/* DWARF original prototype: ushort * add(Stringpool_template<short_unsigned_int> * this,
   basic_string<short_unsigned_int,_std::char_traits<short_unsigned_int>,_std::allocator<short_unsigned_int>_>
   * s, bool copy, Key * pkey) */

ushort * __thiscall
gold::Stringpool_template<short_unsigned_int>::add
          (Stringpool_template<short_unsigned_int> *this,
          basic_string<short_unsigned_int,_std::char_traits<short_unsigned_int>,_std::allocator<short_unsigned_int>_>
          *s,bool copy,Key *pkey)

{
  ushort *puVar1;
  
  puVar1 = add_with_length(this,(s->_M_dataplus)._M_p,s->_M_string_length,copy,pkey);
  return puVar1;
}



void FUN_00174f70(undefined4 param_1,undefined4 *param_2,undefined1 param_3,undefined4 param_4)

{
  FUN_00174d80(param_1,*param_2,param_2[1],param_3,param_4);
  return;
}


SUB ESP,0x18
MOV EAX,dword ptr [ESP + 0x20]
PUSH dword ptr [ESP + 0x28]
MOVZX EDX,byte ptr [ESP + 0x28]
PUSH EDX
PUSH dword ptr [EAX + 0x4]
PUSH dword ptr [EAX]
PUSH dword ptr [ESP + 0x2c]
CALL 0x00174d80
ADD ESP,0x2c
RET
(translation_unit "void FUN_00174f70(undefined4 param_1,undefined4 *param_2,undefined1 param_3,undefined4 param_4)\n\n{\n  FUN_00174d80(param_1,*param_2,param_2[1],param_3,param_4);\n  return;\n}\n\n" (function_definition "void FUN_00174f70(undefined4 param_1,undefined4 *param_2,undefined1 param_3,undefined4 param_4)\n\n{\n  FUN_00174d80(param_1,*param_2,param_2[1],param_3,param_4);\n  return;\n}" primitive_type (function_declarator "FUN_00174f70(undefined4 param_1,undefined4 *param_2,undefined1 param_3,undefined4 param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 *param_2,undefined1 param_3,undefined4 param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined1 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  FUN_00174d80(param_1,*param_2,param_2[1],param_3,param_4);\n  return;\n}" { (expression_statement "FUN_00174d80(param_1,*param_2,param_2[1],param_3,param_4);" (call_expression "FUN_00174d80(param_1,*param_2,param_2[1],param_3,param_4)" identifier (argument_list "(param_1,*param_2,param_2[1],param_3,param_4)" ( identifier , (pointer_expression "*param_2" * identifier) , (subscript_expression "param_2[1]" identifier [ number_literal ]) , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original prototype: ushort * add(Stringpool_template<short_unsigned_int> * this,\n   basic_string<short_unsigned_int,_std::char_traits<short_unsigned_int>,_std::allocator<short_unsigned_int>_>\n   * s, bool copy, Key * pkey) */\n\nushort * __thiscall\ngold::Stringpool_template<short_unsigned_int>::add\n          (Stringpool_template<short_unsigned_int> *this,\n          basic_string<short_unsigned_int,_std::char_traits<short_unsigned_int>,_std::allocator<short_unsigned_int>_>\n          *s,bool copy,Key *pkey)\n\n{\n  ushort *puVar1;\n  \n  puVar1 = add_with_length(this,(s->_M_dataplus)._M_p,s->_M_string_length,copy,pkey);\n  return puVar1;\n}\n\n" comment (expression_statement "ushort * __thiscall\ngold::Stringpool_template<short_unsigned_int>::add\n          (Stringpool_template<short_unsigned_int> *this,\n          basic_string<short_unsigned_int,_std::char_traits<short_unsigned_int>,_std::allocator<short_unsigned_int>_>\n          *s,bool copy,Key *pkey)\n\n{\n  ushort *puVar1;" (update_expression "ushort * __thiscall\ngold::Stringpool_template<short_unsigned_int>::add\n          (Stringpool_template<short_unsigned_int> *this,\n          basic_string<short_unsigned_int,_std::char_traits<short_unsigned_int>,_std::allocator<short_unsigned_int>_>\n          *s,bool copy,Key *pkey)\n\n{\n  ushort *puVar1" (binary_expression "ushort * __thiscall\ngold::Stringpool_template<short_unsigned_int>::add\n          (Stringpool_template<short_unsigned_int> *this,\n          basic_string<short_unsigned_int,_std::char_traits<short_unsigned_int>,_std::allocator<short_unsigned_int>_>\n          *s,bool copy,Key *pkey)\n\n{\n  ushort *puVar1" (binary_expression "ushort * __thiscall\ngold::Stringpool_template<short_unsigned_int" (binary_expression "ushort * __thiscall" identifier * identifier) (ERROR "gold::Stringpool_template" identifier : : identifier) < identifier) > (ERROR "::add\n          (Stringpool_template<short_unsigned_int> *this,\n          basic_string<short_unsigned_int,_std::char_traits<short_unsigned_int>,_std::allocator<short_unsigned_int>_>\n          *s,bool copy,Key *pkey)\n\n{" : : (call_expression "add\n          (Stringpool_template<short_unsigned_int> *this,\n          basic_string<short_unsigned_int,_std::char_traits<short_unsigned_int>,_std::allocator<short_unsigned_int>_>\n          *s,bool copy,Key *pkey)" identifier (argument_list "(Stringpool_template<short_unsigned_int> *this,\n          basic_string<short_unsigned_int,_std::char_traits<short_unsigned_int>,_std::allocator<short_unsigned_int>_>\n          *s,bool copy,Key *pkey)" ( (binary_expression "Stringpool_template<short_unsigned_int> *this" (binary_expression "Stringpool_template<short_unsigned_int" identifier < identifier) > (pointer_expression "*this" * identifier)) , (binary_expression "basic_string<short_unsigned_int" identifier < identifier) , (ERROR "_std::" identifier : :) (binary_expression "char_traits<short_unsigned_int" identifier < identifier) (ERROR ">" >) , (ERROR "_std::" identifier : :) (binary_expression "allocator<short_unsigned_int>_>\n          *s" (binary_expression "allocator<short_unsigned_int>_" (binary_expression "allocator<short_unsigned_int" identifier < identifier) > identifier) > (pointer_expression "*s" * identifier)) , identifier (ERROR "copy" identifier) , (binary_expression "Key *pkey" identifier * identifier) ))) {) (binary_expression "ushort *puVar1" identifier * identifier)) --) ;) (expression_statement "puVar1 = add_with_length(this,(s->_M_dataplus)._M_p,s->_M_string_length,copy,pkey);" (assignment_expression "puVar1 = add_with_length(this,(s->_M_dataplus)._M_p,s->_M_string_length,copy,pkey)" identifier = (call_expression "add_with_length(this,(s->_M_dataplus)._M_p,s->_M_string_length,copy,pkey)" identifier (argument_list "(this,(s->_M_dataplus)._M_p,s->_M_string_length,copy,pkey)" ( identifier , (field_expression "(s->_M_dataplus)._M_p" (parenthesized_expression "(s->_M_dataplus)" ( (field_expression "s->_M_dataplus" identifier -> field_identifier) )) . field_identifier) , (field_expression "s->_M_string_length" identifier -> field_identifier) , identifier , identifier )))) ;) (return_statement "return puVar1;" return identifier ;) (ERROR "}" }))
(translation_unit "void FUN_00174f70(undefined4 param_1,undefined4 *param_2,undefined1 param_3,undefined4 param_4)\n\n{\n  FUN_00174d80(param_1,*param_2,param_2[1],param_3,param_4);\n  return;\n}\n\n" (function_definition "void FUN_00174f70(undefined4 param_1,undefined4 *param_2,undefined1 param_3,undefined4 param_4)\n\n{\n  FUN_00174d80(param_1,*param_2,param_2[1],param_3,param_4);\n  return;\n}" primitive_type (function_declarator "FUN_00174f70(undefined4 param_1,undefined4 *param_2,undefined1 param_3,undefined4 param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 *param_2,undefined1 param_3,undefined4 param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined1 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  FUN_00174d80(param_1,*param_2,param_2[1],param_3,param_4);\n  return;\n}" { (expression_statement "FUN_00174d80(param_1,*param_2,param_2[1],param_3,param_4);" (call_expression "FUN_00174d80(param_1,*param_2,param_2[1],param_3,param_4)" identifier (argument_list "(param_1,*param_2,param_2[1],param_3,param_4)" ( identifier , (pointer_expression "*param_2" * identifier) , (subscript_expression "param_2[1]" identifier [ number_literal ]) , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * IDENT) , (subscript_expression IDENT [ LIT ]) , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00174f70(undefined4 param_1,undefined4 *param_2,undefined1 param_3,undefined4 param_4)\n\n{\n  FUN_00174d80(param_1,*param_2,param_2[1],param_3,param_4);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00174f70(undefined4 param_1,undefined4 *param_2,undefined1 param_3,undefined4 param_4)" (identifier "FUN_00174f70") (parameter_list "(undefined4 param_1,undefined4 *param_2,undefined1 param_3,undefined4 param_4)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined1 param_3" (type_identifier "undefined1") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) () ")"))) (compound_statement "{\n  FUN_00174d80(param_1,*param_2,param_2[1],param_3,param_4);\n  return;\n}" ({ "{") (expression_statement "FUN_00174d80(param_1,*param_2,param_2[1],param_3,param_4);" (call_expression "FUN_00174d80(param_1,*param_2,param_2[1],param_3,param_4)" (identifier "FUN_00174d80") (argument_list "(param_1,*param_2,param_2[1],param_3,param_4)" (( "(") (identifier "param_1") (, ",") (pointer_expression "*param_2" (* "*") (identifier "param_2")) (, ",") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (, ",") (identifier "param_3") (, ",") (identifier "param_4") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* DWARF original prototype: ushort * add(Stringpool_template<short_unsigned_int> * this,
   basic_string<short_unsigned_int,_std::char_traits<short_unsigned_int>,_std::allocator<short_unsigned_int>_>
   * s, bool copy, Key * pkey) */

var_1 * var_2
gold::Stringpool_template<var_3>::add
          (Stringpool_template<var_3> *this,
          basic_string<var_3,_std::char_traits<var_3>,_std::allocator<var_3>_>
          *s,bool copy,Key *pkey)

{
  var_1 *var_4;
  
  var_4 = var_5(this,(s->_M_dataplus)._M_p,s->_M_string_length,copy,pkey);
  return var_4;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)) (subscript_expression argument: (identifier) index: (number_literal)) (identifier) (identifier)))) (return_statement))))

void MASKED(undefined4 param_1,undefined4 *param_2,undefined1 param_3,undefined4 param_4)

{
  FUN_00174d80(param_1,*param_2,param_2[1],param_3,param_4);
  return;
}

