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

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

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



void FUN_0022ad28(Stringpool_template<unsigned_int> *param_1,undefined4 *param_2,bool param_3,
                 uint *param_4)

{
  gold::Stringpool_template<unsigned_int>::add_with_length
            (param_1,(uint *)*param_2,param_2[1],param_3,param_4);
  return;
}


lui gp,0x21
addiu gp,gp,-0xb58
addu gp,gp,t9
addiu sp,sp,-0x28
lw t9,-0x4fd0(gp)
or v0,a1,zero
sw a3,0x10(sp)
or a3,a2,zero
sw ra,0x24(sp)
sw gp,0x18(sp)
lw a1,0x0(a1)
bal 0x0022aab0
_lw a2,0x4(v0)
lw ra,0x24(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "void FUN_0022ad28(Stringpool_template<unsigned_int> *param_1,undefined4 *param_2,bool param_3,\n                 uint *param_4)\n\n{\n  gold::Stringpool_template<unsigned_int>::add_with_length\n            (param_1,(uint *)*param_2,param_2[1],param_3,param_4);\n  return;\n}\n\n" (function_definition "void FUN_0022ad28(Stringpool_template<unsigned_int> *param_1,undefined4 *param_2,bool param_3,\n                 uint *param_4)\n\n{\n  gold::Stringpool_template<unsigned_int>::add_with_length\n            (param_1,(uint *)*param_2,param_2[1],param_3,param_4);\n  return;\n}" primitive_type (function_declarator "FUN_0022ad28(Stringpool_template<unsigned_int> *param_1,undefined4 *param_2,bool param_3,\n                 uint *param_4)" identifier (parameter_list "(Stringpool_template<unsigned_int> *param_1,undefined4 *param_2,bool param_3,\n                 uint *param_4)" ( (parameter_declaration "Stringpool_template<unsigned_int> *param_1" type_identifier (ERROR "<unsigned_int>" < identifier >) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "bool param_3" primitive_type identifier) , (parameter_declaration "uint *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  gold::Stringpool_template<unsigned_int>::add_with_length\n            (param_1,(uint *)*param_2,param_2[1],param_3,param_4);\n  return;\n}" { (labeled_statement "gold::Stringpool_template<unsigned_int>::add_with_length\n            (param_1,(uint *)*param_2,param_2[1],param_3,param_4);" statement_identifier (ERROR "::Stringpool_template<unsigned_int>:" : : (binary_expression "Stringpool_template<unsigned_int" identifier < identifier) > :) : (expression_statement "add_with_length\n            (param_1,(uint *)*param_2,param_2[1],param_3,param_4);" (call_expression "add_with_length\n            (param_1,(uint *)*param_2,param_2[1],param_3,param_4)" identifier (argument_list "(param_1,(uint *)*param_2,param_2[1],param_3,param_4)" ( identifier , (cast_expression "(uint *)*param_2" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)) , (subscript_expression "param_2[1]" identifier [ number_literal ]) , identifier , identifier ))) ;)) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original prototype: uint * add(Stringpool_template<unsigned_int> * this,\n   basic_string<unsigned_int,_std::char_traits<unsigned_int>,_std::allocator<unsigned_int>_> * s,\n   bool copy, Key * pkey) */\n\nuint * __thiscall\ngold::Stringpool_template<unsigned_int>::add\n          (Stringpool_template<unsigned_int> *this,\n          basic_string<unsigned_int,_std::char_traits<unsigned_int>,_std::allocator<unsigned_int>_>\n          *s,bool copy,Key *pkey)\n\n{\n  uint *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 "uint * __thiscall\ngold::Stringpool_template<unsigned_int>::add\n          (Stringpool_template<unsigned_int> *this,\n          basic_string<unsigned_int,_std::char_traits<unsigned_int>,_std::allocator<unsigned_int>_>\n          *s,bool copy,Key *pkey)\n\n{\n  uint *puVar1;" (update_expression "uint * __thiscall\ngold::Stringpool_template<unsigned_int>::add\n          (Stringpool_template<unsigned_int> *this,\n          basic_string<unsigned_int,_std::char_traits<unsigned_int>,_std::allocator<unsigned_int>_>\n          *s,bool copy,Key *pkey)\n\n{\n  uint *puVar1" (binary_expression "uint * __thiscall\ngold::Stringpool_template<unsigned_int>::add\n          (Stringpool_template<unsigned_int> *this,\n          basic_string<unsigned_int,_std::char_traits<unsigned_int>,_std::allocator<unsigned_int>_>\n          *s,bool copy,Key *pkey)\n\n{\n  uint *puVar1" (binary_expression "uint * __thiscall\ngold::Stringpool_template<unsigned_int" (binary_expression "uint * __thiscall" identifier * identifier) (ERROR "gold::Stringpool_template" identifier : : identifier) < identifier) > (ERROR "::add\n          (Stringpool_template<unsigned_int> *this,\n          basic_string<unsigned_int,_std::char_traits<unsigned_int>,_std::allocator<unsigned_int>_>\n          *s,bool copy,Key *pkey)\n\n{" : : (call_expression "add\n          (Stringpool_template<unsigned_int> *this,\n          basic_string<unsigned_int,_std::char_traits<unsigned_int>,_std::allocator<unsigned_int>_>\n          *s,bool copy,Key *pkey)" identifier (argument_list "(Stringpool_template<unsigned_int> *this,\n          basic_string<unsigned_int,_std::char_traits<unsigned_int>,_std::allocator<unsigned_int>_>\n          *s,bool copy,Key *pkey)" ( (binary_expression "Stringpool_template<unsigned_int> *this" (binary_expression "Stringpool_template<unsigned_int" identifier < identifier) > (pointer_expression "*this" * identifier)) , (binary_expression "basic_string<unsigned_int" identifier < identifier) , (ERROR "_std::" identifier : :) (binary_expression "char_traits<unsigned_int" identifier < identifier) (ERROR ">" >) , (ERROR "_std::" identifier : :) (binary_expression "allocator<unsigned_int>_>\n          *s" (binary_expression "allocator<unsigned_int>_" (binary_expression "allocator<unsigned_int" identifier < identifier) > identifier) > (pointer_expression "*s" * identifier)) , identifier (ERROR "copy" identifier) , (binary_expression "Key *pkey" identifier * identifier) ))) {) (binary_expression "uint *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_0022ad28(Stringpool_template<unsigned_int> *param_1,undefined4 *param_2,bool param_3,\n                 uint *param_4)\n\n{\n  gold::Stringpool_template<unsigned_int>::add_with_length\n            (param_1,(uint *)*param_2,param_2[1],param_3,param_4);\n  return;\n}\n\n" (function_definition "void FUN_0022ad28(Stringpool_template<unsigned_int> *param_1,undefined4 *param_2,bool param_3,\n                 uint *param_4)\n\n{\n  gold::Stringpool_template<unsigned_int>::add_with_length\n            (param_1,(uint *)*param_2,param_2[1],param_3,param_4);\n  return;\n}" primitive_type (function_declarator "FUN_0022ad28(Stringpool_template<unsigned_int> *param_1,undefined4 *param_2,bool param_3,\n                 uint *param_4)" identifier (parameter_list "(Stringpool_template<unsigned_int> *param_1,undefined4 *param_2,bool param_3,\n                 uint *param_4)" ( (parameter_declaration "Stringpool_template<unsigned_int> *param_1" type_identifier (ERROR "<unsigned_int>" < identifier >) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "bool param_3" primitive_type identifier) , (parameter_declaration "uint *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  gold::Stringpool_template<unsigned_int>::add_with_length\n            (param_1,(uint *)*param_2,param_2[1],param_3,param_4);\n  return;\n}" { (labeled_statement "gold::Stringpool_template<unsigned_int>::add_with_length\n            (param_1,(uint *)*param_2,param_2[1],param_3,param_4);" statement_identifier (ERROR "::Stringpool_template<unsigned_int>:" : : (binary_expression "Stringpool_template<unsigned_int" identifier < identifier) > :) : (expression_statement "add_with_length\n            (param_1,(uint *)*param_2,param_2[1],param_3,param_4);" (call_expression "add_with_length\n            (param_1,(uint *)*param_2,param_2[1],param_3,param_4)" identifier (argument_list "(param_1,(uint *)*param_2,param_2[1],param_3,param_4)" ( identifier , (cast_expression "(uint *)*param_2" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (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 (ERROR < IDENT >) (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (labeled_statement statement_identifier (ERROR : : (binary_expression IDENT < IDENT) > :) : (expression_statement (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) , (subscript_expression IDENT [ LIT ]) , IDENT , IDENT ))) ;)) (return_statement return ;) })))
(function_definition "void FUN_0022ad28(Stringpool_template<unsigned_int> *param_1,undefined4 *param_2,bool param_3,\n                 uint *param_4)\n\n{\n  gold::Stringpool_template<unsigned_int>::add_with_length\n            (param_1,(uint *)*param_2,param_2[1],param_3,param_4);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0022ad28(Stringpool_template<unsigned_int> *param_1,undefined4 *param_2,bool param_3,\n                 uint *param_4)" (identifier "FUN_0022ad28") (parameter_list "(Stringpool_template<unsigned_int> *param_1,undefined4 *param_2,bool param_3,\n                 uint *param_4)" (( "(") (parameter_declaration "Stringpool_template<unsigned_int> *param_1" (type_identifier "Stringpool_template") (ERROR "<unsigned_int>" (< "<") (identifier "unsigned_int") (> ">")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "bool param_3" (primitive_type "bool") (identifier "param_3")) (, ",") (parameter_declaration "uint *param_4" (type_identifier "uint") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) () ")"))) (compound_statement "{\n  gold::Stringpool_template<unsigned_int>::add_with_length\n            (param_1,(uint *)*param_2,param_2[1],param_3,param_4);\n  return;\n}" ({ "{") (labeled_statement "gold::Stringpool_template<unsigned_int>::add_with_length\n            (param_1,(uint *)*param_2,param_2[1],param_3,param_4);" (statement_identifier "gold") (ERROR "::Stringpool_template<unsigned_int>:" (: ":") (: ":") (binary_expression "Stringpool_template<unsigned_int" (identifier "Stringpool_template") (< "<") (identifier "unsigned_int")) (> ">") (: ":")) (: ":") (expression_statement "add_with_length\n            (param_1,(uint *)*param_2,param_2[1],param_3,param_4);" (call_expression "add_with_length\n            (param_1,(uint *)*param_2,param_2[1],param_3,param_4)" (identifier "add_with_length") (argument_list "(param_1,(uint *)*param_2,param_2[1],param_3,param_4)" (( "(") (identifier "param_1") (, ",") (cast_expression "(uint *)*param_2" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (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") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) (ERROR (identifier)) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (labeled_statement label: (statement_identifier) (ERROR (binary_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))) (subscript_expression argument: (identifier) index: (number_literal)) (identifier) (identifier))))) (return_statement))))

void MASKED(Stringpool_template<unsigned_int> *param_1,undefined4 *param_2,bool param_3,
                 uint *param_4)

{
  gold::Stringpool_template<unsigned_int>::add_with_length
            (param_1,(uint *)*param_2,param_2[1],param_3,param_4);
  return;
}

