
/* std::string::operator[](unsigned long) const */

long __thiscall std::string::operator[](string *this,ulong param_1)

{
  return *(long *)this + param_1;
}



long FUN_002d4a70(long *param_1,long param_2)

{
  return *param_1 + param_2;
}


MOV RAX,qword ptr [RDI]
ADD RAX,RSI
RET
(translation_unit "long FUN_002d4a70(long *param_1,long param_2)\n\n{\n  return *param_1 + param_2;\n}\n\n" (function_definition "long FUN_002d4a70(long *param_1,long param_2)\n\n{\n  return *param_1 + param_2;\n}" (sized_type_specifier "long" long) (function_declarator "FUN_002d4a70(long *param_1,long param_2)" identifier (parameter_list "(long *param_1,long param_2)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  return *param_1 + param_2;\n}" { (return_statement "return *param_1 + param_2;" return (binary_expression "*param_1 + param_2" (pointer_expression "*param_1" * identifier) + identifier) ;) })))
(translation_unit "/* std::string::operator[](unsigned long) const */\n\nlong __thiscall std::string::operator[](string *this,ulong param_1)\n\n{\n  return *(long *)this + param_1;\n}\n\n" comment (function_definition "long __thiscall std::string::operator[](string *this,ulong param_1)\n\n{\n  return *(long *)this + param_1;\n}" (sized_type_specifier "long" long) (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::string::" identifier : : identifier : :) (function_declarator "operator[](string *this,ulong param_1)" (array_declarator "operator[]" identifier [ ]) (parameter_list "(string *this,ulong param_1)" ( (parameter_declaration "string *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "ulong param_1" type_identifier identifier) ))) (compound_statement "{\n  return *(long *)this + param_1;\n}" { (return_statement "return *(long *)this + param_1;" return (binary_expression "*(long *)this + param_1" (pointer_expression "*(long *)this" * (cast_expression "(long *)this" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier)) + identifier) ;) })))
(translation_unit "long FUN_002d4a70(long *param_1,long param_2)\n\n{\n  return *param_1 + param_2;\n}\n\n" (function_definition "long FUN_002d4a70(long *param_1,long param_2)\n\n{\n  return *param_1 + param_2;\n}" (sized_type_specifier "long" long) (function_declarator "FUN_002d4a70(long *param_1,long param_2)" identifier (parameter_list "(long *param_1,long param_2)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  return *param_1 + param_2;\n}" { (return_statement "return *param_1 + param_2;" return (binary_expression "*param_1 + param_2" (pointer_expression "*param_1" * identifier) + identifier) ;) })))
(translation_unit (function_definition (sized_type_specifier long) (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (return_statement return (binary_expression (pointer_expression * IDENT) + IDENT) ;) })))
(function_definition "long FUN_002d4a70(long *param_1,long param_2)\n\n{\n  return *param_1 + param_2;\n}" (sized_type_specifier "long" (long "long")) (function_declarator "FUN_002d4a70(long *param_1,long param_2)" (identifier "FUN_002d4a70") (parameter_list "(long *param_1,long param_2)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) () ")"))) (compound_statement "{\n  return *param_1 + param_2;\n}" ({ "{") (return_statement "return *param_1 + param_2;" (return "return") (binary_expression "*param_1 + param_2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (identifier "param_2")) (; ";")) (} "}")))

/* std::string::operator[](unsigned long) const */

long __thiscall std::type_1::operator[](type_1 *this,type_2 var_1)

{
  return *(long *)this + var_1;
}


(translation_unit (function_definition type: (sized_type_specifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (sized_type_specifier) declarator: (identifier)))) body: (compound_statement (return_statement (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier))))))

long MASKED(long *param_1,long param_2)

{
  return *param_1 + param_2;
}

