
/* std::string::back() */

int __thiscall std::string::back(string *this)

{
  return *(int *)this + -1 + *(int *)(this + 4);
}



int FUN_001ef2c0(int *param_1)

{
  return *param_1 + -1 + param_1[1];
}


MOV EAX,dword ptr [ESP + 0x4]
MOV EDX,dword ptr [EAX + 0x4]
MOV EAX,dword ptr [EAX]
LEA EAX,[EAX + EDX*0x1 + -0x1]
RET
(translation_unit "int FUN_001ef2c0(int *param_1)\n\n{\n  return *param_1 + -1 + param_1[1];\n}\n\n" (function_definition "int FUN_001ef2c0(int *param_1)\n\n{\n  return *param_1 + -1 + param_1[1];\n}" primitive_type (function_declarator "FUN_001ef2c0(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  return *param_1 + -1 + param_1[1];\n}" { (return_statement "return *param_1 + -1 + param_1[1];" return (binary_expression "*param_1 + -1 + param_1[1]" (binary_expression "*param_1 + -1" (pointer_expression "*param_1" * identifier) + number_literal) + (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) })))
(translation_unit "/* std::string::back() */\n\nint __thiscall std::string::back(string *this)\n\n{\n  return *(int *)this + -1 + *(int *)(this + 4);\n}\n\n" comment (function_definition "int __thiscall std::string::back(string *this)\n\n{\n  return *(int *)this + -1 + *(int *)(this + 4);\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::string::" identifier : : identifier : :) (function_declarator "back(string *this)" identifier (parameter_list "(string *this)" ( (parameter_declaration "string *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  return *(int *)this + -1 + *(int *)(this + 4);\n}" { (return_statement "return *(int *)this + -1 + *(int *)(this + 4);" return (binary_expression "*(int *)this + -1 + *(int *)(this + 4)" (binary_expression "*(int *)this + -1" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) + (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) ))))) ;) })))
(translation_unit "int FUN_001ef2c0(int *param_1)\n\n{\n  return *param_1 + -1 + param_1[1];\n}\n\n" (function_definition "int FUN_001ef2c0(int *param_1)\n\n{\n  return *param_1 + -1 + param_1[1];\n}" primitive_type (function_declarator "FUN_001ef2c0(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  return *param_1 + -1 + param_1[1];\n}" { (return_statement "return *param_1 + -1 + param_1[1];" return (binary_expression "*param_1 + -1 + param_1[1]" (binary_expression "*param_1 + -1" (pointer_expression "*param_1" * identifier) + number_literal) + (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (return_statement return (binary_expression (binary_expression (pointer_expression * IDENT) + LIT) + (subscript_expression IDENT [ LIT ])) ;) })))
(function_definition "int FUN_001ef2c0(int *param_1)\n\n{\n  return *param_1 + -1 + param_1[1];\n}" (primitive_type "int") (function_declarator "FUN_001ef2c0(int *param_1)" (identifier "FUN_001ef2c0") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  return *param_1 + -1 + param_1[1];\n}" ({ "{") (return_statement "return *param_1 + -1 + param_1[1];" (return "return") (binary_expression "*param_1 + -1 + param_1[1]" (binary_expression "*param_1 + -1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "-1")) (+ "+") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (} "}")))

/* std::string::back() */

int __thiscall std::type_1::function_1(type_1 *var_1)

{
  return *(int *)var_1 + -1 + *(int *)(var_1 + 4);
}


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

int MASKED(int *param_1)

{
  return *param_1 + -1 + param_1[1];
}

