
/* std::wstring::back() const */

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

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



int FUN_00268e40(int *param_1)

{
  return *param_1 + -4 + *(int *)(*param_1 + -0xc) * 4;
}


MOV EAX,dword ptr [ESP + 0x4]
MOV EAX,dword ptr [EAX]
MOV EDX,dword ptr [EAX + -0xc]
LEA EAX,[EAX + EDX*0x4 + -0x4]
RET
(translation_unit "int FUN_00268e40(int *param_1)\n\n{\n  return *param_1 + -4 + *(int *)(*param_1 + -0xc) * 4;\n}\n\n" (function_definition "int FUN_00268e40(int *param_1)\n\n{\n  return *param_1 + -4 + *(int *)(*param_1 + -0xc) * 4;\n}" primitive_type (function_declarator "FUN_00268e40(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 + -4 + *(int *)(*param_1 + -0xc) * 4;\n}" { (return_statement "return *param_1 + -4 + *(int *)(*param_1 + -0xc) * 4;" return (binary_expression "*param_1 + -4 + *(int *)(*param_1 + -0xc) * 4" (binary_expression "*param_1 + -4" (pointer_expression "*param_1" * identifier) + number_literal) + (binary_expression "*(int *)(*param_1 + -0xc) * 4" (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) )))) * number_literal)) ;) })))
(translation_unit "/* std::wstring::back() const */\n\nint __thiscall std::wstring::back(wstring *this)\n\n{\n  return *(int *)this + -4 + *(int *)(*(int *)this + -0xc) * 4;\n}\n\n" comment (function_definition "int __thiscall std::wstring::back(wstring *this)\n\n{\n  return *(int *)this + -4 + *(int *)(*(int *)this + -0xc) * 4;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::wstring::" identifier : : identifier : :) (function_declarator "back(wstring *this)" identifier (parameter_list "(wstring *this)" ( (parameter_declaration "wstring *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  return *(int *)this + -4 + *(int *)(*(int *)this + -0xc) * 4;\n}" { (return_statement "return *(int *)this + -4 + *(int *)(*(int *)this + -0xc) * 4;" return (binary_expression "*(int *)this + -4 + *(int *)(*(int *)this + -0xc) * 4" (binary_expression "*(int *)this + -4" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) + (binary_expression "*(int *)(*(int *)this + -0xc) * 4" (pointer_expression "*(int *)(*(int *)this + -0xc)" * (cast_expression "(int *)(*(int *)this + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)this + -0xc)" ( (binary_expression "*(int *)this + -0xc" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) * number_literal)) ;) })))
(translation_unit "int FUN_00268e40(int *param_1)\n\n{\n  return *param_1 + -4 + *(int *)(*param_1 + -0xc) * 4;\n}\n\n" (function_definition "int FUN_00268e40(int *param_1)\n\n{\n  return *param_1 + -4 + *(int *)(*param_1 + -0xc) * 4;\n}" primitive_type (function_declarator "FUN_00268e40(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 + -4 + *(int *)(*param_1 + -0xc) * 4;\n}" { (return_statement "return *param_1 + -4 + *(int *)(*param_1 + -0xc) * 4;" return (binary_expression "*param_1 + -4 + *(int *)(*param_1 + -0xc) * 4" (binary_expression "*param_1 + -4" (pointer_expression "*param_1" * identifier) + number_literal) + (binary_expression "*(int *)(*param_1 + -0xc) * 4" (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) )))) * 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) + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) * LIT)) ;) })))
(function_definition "int FUN_00268e40(int *param_1)\n\n{\n  return *param_1 + -4 + *(int *)(*param_1 + -0xc) * 4;\n}" (primitive_type "int") (function_declarator "FUN_00268e40(int *param_1)" (identifier "FUN_00268e40") (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 + -4 + *(int *)(*param_1 + -0xc) * 4;\n}" ({ "{") (return_statement "return *param_1 + -4 + *(int *)(*param_1 + -0xc) * 4;" (return "return") (binary_expression "*param_1 + -4 + *(int *)(*param_1 + -0xc) * 4" (binary_expression "*param_1 + -4" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "-4")) (+ "+") (binary_expression "*(int *)(*param_1 + -0xc) * 4" (pointer_expression "*(int *)(*param_1 + -0xc)" (* "*") (cast_expression "(int *)(*param_1 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + -0xc)" (( "(") (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "-0xc")) () ")")))) (* "*") (number_literal "4"))) (; ";")) (} "}")))

/* std::wstring::back() const */

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

{
  return *(int *)this + -4 + *(int *)(*(int *)this + -0xc) * 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: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) right: (number_literal)))))))

int MASKED(int *param_1)

{
  return *param_1 + -4 + *(int *)(*param_1 + -0xc) * 4;
}

