
/* std::wstring::rend() */

void std::wstring::rend(void)

{
  int *in_a0;
  wstring *in_a1;
  
  if (*(int *)(*(int *)in_a1 + -4) < 0) {
    *in_a0 = *(int *)in_a1;
    return;
  }
  _M_leak_hard(in_a1);
  *in_a0 = *(int *)in_a1;
  return;
}



void FUN_003d2abc(int *param_1,wstring *param_2)

{
  if (*(int *)(*(int *)param_2 + -4) < 0) {
    *param_1 = *(int *)param_2;
    return;
  }
  std::wstring::_M_leak_hard(param_2);
  *param_1 = *(int *)param_2;
  return;
}


lui gp,0xf
addiu gp,gp,0x6784
addu gp,gp,t9
lw v1,0x0(a1)
or v0,a0,zero
lw a0,-0x4(v1)
bgez a0,0x003d2ae4
_nop
jr ra
_sw v1,0x0(v0)
addiu sp,sp,-0x20
lw t9,-0x6298(gp)
or a0,a1,zero
sw ra,0x1c(sp)
sw gp,0x10(sp)
sw v0,0x20(sp)
bal 0x003d29c4
_sw a1,0x24(sp)
lw a1,0x24(sp)
lw v0,0x20(sp)
lw ra,0x1c(sp)
lw v1,0x0(a1)
sw v1,0x0(v0)
jr ra
_addiu sp,sp,0x20
(translation_unit "void FUN_003d2abc(int *param_1,wstring *param_2)\n\n{\n  if (*(int *)(*(int *)param_2 + -4) < 0) {\n    *param_1 = *(int *)param_2;\n    return;\n  }\n  std::wstring::_M_leak_hard(param_2);\n  *param_1 = *(int *)param_2;\n  return;\n}\n\n" (function_definition "void FUN_003d2abc(int *param_1,wstring *param_2)\n\n{\n  if (*(int *)(*(int *)param_2 + -4) < 0) {\n    *param_1 = *(int *)param_2;\n    return;\n  }\n  std::wstring::_M_leak_hard(param_2);\n  *param_1 = *(int *)param_2;\n  return;\n}" primitive_type (function_declarator "FUN_003d2abc(int *param_1,wstring *param_2)" identifier (parameter_list "(int *param_1,wstring *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "wstring *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  if (*(int *)(*(int *)param_2 + -4) < 0) {\n    *param_1 = *(int *)param_2;\n    return;\n  }\n  std::wstring::_M_leak_hard(param_2);\n  *param_1 = *(int *)param_2;\n  return;\n}" { (if_statement "if (*(int *)(*(int *)param_2 + -4) < 0) {\n    *param_1 = *(int *)param_2;\n    return;\n  }" if (parenthesized_expression "(*(int *)(*(int *)param_2 + -4) < 0)" ( (binary_expression "*(int *)(*(int *)param_2 + -4) < 0" (pointer_expression "*(int *)(*(int *)param_2 + -4)" * (cast_expression "(int *)(*(int *)param_2 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_2 + -4)" ( (binary_expression "*(int *)param_2 + -4" (pointer_expression "*(int *)param_2" * (cast_expression "(int *)param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) < number_literal) )) (compound_statement "{\n    *param_1 = *(int *)param_2;\n    return;\n  }" { (expression_statement "*param_1 = *(int *)param_2;" (assignment_expression "*param_1 = *(int *)param_2" (pointer_expression "*param_1" * identifier) = (pointer_expression "*(int *)param_2" * (cast_expression "(int *)param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (return_statement "return;" return ;) })) (labeled_statement "std::wstring::_M_leak_hard(param_2);" statement_identifier : (ERROR ":" :) (labeled_statement "wstring::_M_leak_hard(param_2);" statement_identifier : (ERROR ":" :) (expression_statement "_M_leak_hard(param_2);" (call_expression "_M_leak_hard(param_2)" identifier (argument_list "(param_2)" ( identifier ))) ;))) (expression_statement "*param_1 = *(int *)param_2;" (assignment_expression "*param_1 = *(int *)param_2" (pointer_expression "*param_1" * identifier) = (pointer_expression "*(int *)param_2" * (cast_expression "(int *)param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* std::wstring::rend() */\n\nvoid std::wstring::rend(void)\n\n{\n  int *in_a0;\n  wstring *in_a1;\n  \n  if (*(int *)(*(int *)in_a1 + -4) < 0) {\n    *in_a0 = *(int *)in_a1;\n    return;\n  }\n  _M_leak_hard(in_a1);\n  *in_a0 = *(int *)in_a1;\n  return;\n}\n\n" comment (function_definition "void std::wstring::rend(void)\n\n{\n  int *in_a0;\n  wstring *in_a1;\n  \n  if (*(int *)(*(int *)in_a1 + -4) < 0) {\n    *in_a0 = *(int *)in_a1;\n    return;\n  }\n  _M_leak_hard(in_a1);\n  *in_a0 = *(int *)in_a1;\n  return;\n}" primitive_type (ERROR "std::wstring::" identifier : : identifier : :) (function_declarator "rend(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int *in_a0;\n  wstring *in_a1;\n  \n  if (*(int *)(*(int *)in_a1 + -4) < 0) {\n    *in_a0 = *(int *)in_a1;\n    return;\n  }\n  _M_leak_hard(in_a1);\n  *in_a0 = *(int *)in_a1;\n  return;\n}" { (declaration "int *in_a0;" primitive_type (pointer_declarator "*in_a0" * identifier) ;) (declaration "wstring *in_a1;" type_identifier (pointer_declarator "*in_a1" * identifier) ;) (if_statement "if (*(int *)(*(int *)in_a1 + -4) < 0) {\n    *in_a0 = *(int *)in_a1;\n    return;\n  }" if (parenthesized_expression "(*(int *)(*(int *)in_a1 + -4) < 0)" ( (binary_expression "*(int *)(*(int *)in_a1 + -4) < 0" (pointer_expression "*(int *)(*(int *)in_a1 + -4)" * (cast_expression "(int *)(*(int *)in_a1 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)in_a1 + -4)" ( (binary_expression "*(int *)in_a1 + -4" (pointer_expression "*(int *)in_a1" * (cast_expression "(int *)in_a1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) < number_literal) )) (compound_statement "{\n    *in_a0 = *(int *)in_a1;\n    return;\n  }" { (expression_statement "*in_a0 = *(int *)in_a1;" (assignment_expression "*in_a0 = *(int *)in_a1" (pointer_expression "*in_a0" * identifier) = (pointer_expression "*(int *)in_a1" * (cast_expression "(int *)in_a1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (return_statement "return;" return ;) })) (expression_statement "_M_leak_hard(in_a1);" (call_expression "_M_leak_hard(in_a1)" identifier (argument_list "(in_a1)" ( identifier ))) ;) (expression_statement "*in_a0 = *(int *)in_a1;" (assignment_expression "*in_a0 = *(int *)in_a1" (pointer_expression "*in_a0" * identifier) = (pointer_expression "*(int *)in_a1" * (cast_expression "(int *)in_a1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_003d2abc(int *param_1,wstring *param_2)\n\n{\n  if (*(int *)(*(int *)param_2 + -4) < 0) {\n    *param_1 = *(int *)param_2;\n    return;\n  }\n  std::wstring::_M_leak_hard(param_2);\n  *param_1 = *(int *)param_2;\n  return;\n}\n\n" (function_definition "void FUN_003d2abc(int *param_1,wstring *param_2)\n\n{\n  if (*(int *)(*(int *)param_2 + -4) < 0) {\n    *param_1 = *(int *)param_2;\n    return;\n  }\n  std::wstring::_M_leak_hard(param_2);\n  *param_1 = *(int *)param_2;\n  return;\n}" primitive_type (function_declarator "FUN_003d2abc(int *param_1,wstring *param_2)" identifier (parameter_list "(int *param_1,wstring *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "wstring *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  if (*(int *)(*(int *)param_2 + -4) < 0) {\n    *param_1 = *(int *)param_2;\n    return;\n  }\n  std::wstring::_M_leak_hard(param_2);\n  *param_1 = *(int *)param_2;\n  return;\n}" { (if_statement "if (*(int *)(*(int *)param_2 + -4) < 0) {\n    *param_1 = *(int *)param_2;\n    return;\n  }" if (parenthesized_expression "(*(int *)(*(int *)param_2 + -4) < 0)" ( (binary_expression "*(int *)(*(int *)param_2 + -4) < 0" (pointer_expression "*(int *)(*(int *)param_2 + -4)" * (cast_expression "(int *)(*(int *)param_2 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_2 + -4)" ( (binary_expression "*(int *)param_2 + -4" (pointer_expression "*(int *)param_2" * (cast_expression "(int *)param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) < number_literal) )) (compound_statement "{\n    *param_1 = *(int *)param_2;\n    return;\n  }" { (expression_statement "*param_1 = *(int *)param_2;" (assignment_expression "*param_1 = *(int *)param_2" (pointer_expression "*param_1" * identifier) = (pointer_expression "*(int *)param_2" * (cast_expression "(int *)param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (return_statement "return;" return ;) })) (labeled_statement "std::wstring::_M_leak_hard(param_2);" statement_identifier : (ERROR ":" :) (labeled_statement "wstring::_M_leak_hard(param_2);" statement_identifier : (ERROR ":" :) (expression_statement "_M_leak_hard(param_2);" (call_expression "_M_leak_hard(param_2)" identifier (argument_list "(param_2)" ( identifier ))) ;))) (expression_statement "*param_1 = *(int *)param_2;" (assignment_expression "*param_1 = *(int *)param_2" (pointer_expression "*param_1" * identifier) = (pointer_expression "*(int *)param_2" * (cast_expression "(int *)param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) + LIT) )))) < LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (return_statement return ;) })) (labeled_statement statement_identifier : (ERROR :) (labeled_statement statement_identifier : (ERROR :) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;))) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (return_statement return ;) })))
(function_definition "void FUN_003d2abc(int *param_1,wstring *param_2)\n\n{\n  if (*(int *)(*(int *)param_2 + -4) < 0) {\n    *param_1 = *(int *)param_2;\n    return;\n  }\n  std::wstring::_M_leak_hard(param_2);\n  *param_1 = *(int *)param_2;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_003d2abc(int *param_1,wstring *param_2)" (identifier "FUN_003d2abc") (parameter_list "(int *param_1,wstring *param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "wstring *param_2" (type_identifier "wstring") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  if (*(int *)(*(int *)param_2 + -4) < 0) {\n    *param_1 = *(int *)param_2;\n    return;\n  }\n  std::wstring::_M_leak_hard(param_2);\n  *param_1 = *(int *)param_2;\n  return;\n}" ({ "{") (if_statement "if (*(int *)(*(int *)param_2 + -4) < 0) {\n    *param_1 = *(int *)param_2;\n    return;\n  }" (if "if") (parenthesized_expression "(*(int *)(*(int *)param_2 + -4) < 0)" (( "(") (binary_expression "*(int *)(*(int *)param_2 + -4) < 0" (pointer_expression "*(int *)(*(int *)param_2 + -4)" (* "*") (cast_expression "(int *)(*(int *)param_2 + -4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)param_2 + -4)" (( "(") (binary_expression "*(int *)param_2 + -4" (pointer_expression "*(int *)param_2" (* "*") (cast_expression "(int *)param_2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_2"))) (+ "+") (number_literal "-4")) () ")")))) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    *param_1 = *(int *)param_2;\n    return;\n  }" ({ "{") (expression_statement "*param_1 = *(int *)param_2;" (assignment_expression "*param_1 = *(int *)param_2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "*(int *)param_2" (* "*") (cast_expression "(int *)param_2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_2")))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (labeled_statement "std::wstring::_M_leak_hard(param_2);" (statement_identifier "std") (: ":") (ERROR ":" (: ":")) (labeled_statement "wstring::_M_leak_hard(param_2);" (statement_identifier "wstring") (: ":") (ERROR ":" (: ":")) (expression_statement "_M_leak_hard(param_2);" (call_expression "_M_leak_hard(param_2)" (identifier "_M_leak_hard") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")"))) (; ";")))) (expression_statement "*param_1 = *(int *)param_2;" (assignment_expression "*param_1 = *(int *)param_2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "*(int *)param_2" (* "*") (cast_expression "(int *)param_2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_2")))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::wstring::rend() */

void std::type_1::function_1(void)

{
  int *in_a0;
  type_1 *in_a1;
  
  if (*(int *)(*(int *)in_a1 + -4) < 0) {
    *in_a0 = *(int *)in_a1;
    return;
  }
  var_1(in_a1);
  *in_a0 = *(int *)in_a1;
  return;
}


(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))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (if_statement condition: (parenthesized_expression (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: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (return_statement))) (labeled_statement label: (statement_identifier) (ERROR) (labeled_statement label: (statement_identifier) (ERROR) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (return_statement))))

void MASKED(int *param_1,wstring *param_2)

{
  if (*(int *)(*(int *)param_2 + -4) < 0) {
    *param_1 = *(int *)param_2;
    return;
  }
  std::wstring::_M_leak_hard(param_2);
  *param_1 = *(int *)param_2;
  return;
}

