
/* std::string::_M_set_length(unsigned int) */

void __thiscall std::string::_M_set_length(string *this,uint param_1)

{
  *(uint *)(this + 4) = param_1;
  *(undefined1 *)(*(int *)this + param_1) = 0;
  return;
}



void FUN_001ee490(int *param_1,int param_2)

{
  param_1[1] = param_2;
  *(undefined1 *)(*param_1 + param_2) = 0;
  return;
}


MOV EDX,dword ptr [ESP + 0x4]
MOV EAX,dword ptr [ESP + 0x8]
MOV dword ptr [EDX + 0x4],EAX
MOV EDX,dword ptr [EDX]
MOV byte ptr [EDX + EAX*0x1],0x0
RET
(translation_unit "void FUN_001ee490(int *param_1,int param_2)\n\n{\n  param_1[1] = param_2;\n  *(undefined1 *)(*param_1 + param_2) = 0;\n  return;\n}\n\n" (function_definition "void FUN_001ee490(int *param_1,int param_2)\n\n{\n  param_1[1] = param_2;\n  *(undefined1 *)(*param_1 + param_2) = 0;\n  return;\n}" primitive_type (function_declarator "FUN_001ee490(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  param_1[1] = param_2;\n  *(undefined1 *)(*param_1 + param_2) = 0;\n  return;\n}" { (expression_statement "param_1[1] = param_2;" (assignment_expression "param_1[1] = param_2" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)(*param_1 + param_2) = 0;" (assignment_expression "*(undefined1 *)(*param_1 + param_2) = 0" (pointer_expression "*(undefined1 *)(*param_1 + param_2)" * (cast_expression "(undefined1 *)(*param_1 + param_2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + param_2)" ( (binary_expression "*param_1 + param_2" (pointer_expression "*param_1" * identifier) + identifier) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* std::string::_M_set_length(unsigned int) */\n\nvoid __thiscall std::string::_M_set_length(string *this,uint param_1)\n\n{\n  *(uint *)(this + 4) = param_1;\n  *(undefined1 *)(*(int *)this + param_1) = 0;\n  return;\n}\n\n" comment (function_definition "void __thiscall std::string::_M_set_length(string *this,uint param_1)\n\n{\n  *(uint *)(this + 4) = param_1;\n  *(undefined1 *)(*(int *)this + param_1) = 0;\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::string::" identifier : : identifier : :) (function_declarator "_M_set_length(string *this,uint param_1)" identifier (parameter_list "(string *this,uint param_1)" ( (parameter_declaration "string *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  *(uint *)(this + 4) = param_1;\n  *(undefined1 *)(*(int *)this + param_1) = 0;\n  return;\n}" { (expression_statement "*(uint *)(this + 4) = param_1;" (assignment_expression "*(uint *)(this + 4) = param_1" (pointer_expression "*(uint *)(this + 4)" * (cast_expression "(uint *)(this + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 *)(*(int *)this + param_1) = 0;" (assignment_expression "*(undefined1 *)(*(int *)this + param_1) = 0" (pointer_expression "*(undefined1 *)(*(int *)this + param_1)" * (cast_expression "(undefined1 *)(*(int *)this + param_1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)this + param_1)" ( (binary_expression "*(int *)this + param_1" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + identifier) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001ee490(int *param_1,int param_2)\n\n{\n  param_1[1] = param_2;\n  *(undefined1 *)(*param_1 + param_2) = 0;\n  return;\n}\n\n" (function_definition "void FUN_001ee490(int *param_1,int param_2)\n\n{\n  param_1[1] = param_2;\n  *(undefined1 *)(*param_1 + param_2) = 0;\n  return;\n}" primitive_type (function_declarator "FUN_001ee490(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  param_1[1] = param_2;\n  *(undefined1 *)(*param_1 + param_2) = 0;\n  return;\n}" { (expression_statement "param_1[1] = param_2;" (assignment_expression "param_1[1] = param_2" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)(*param_1 + param_2) = 0;" (assignment_expression "*(undefined1 *)(*param_1 + param_2) = 0" (pointer_expression "*(undefined1 *)(*param_1 + param_2)" * (cast_expression "(undefined1 *)(*param_1 + param_2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + param_2)" ( (binary_expression "*param_1 + param_2" (pointer_expression "*param_1" * identifier) + identifier) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + IDENT) )))) = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_001ee490(int *param_1,int param_2)\n\n{\n  param_1[1] = param_2;\n  *(undefined1 *)(*param_1 + param_2) = 0;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001ee490(int *param_1,int param_2)" (identifier "FUN_001ee490") (parameter_list "(int *param_1,int param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  param_1[1] = param_2;\n  *(undefined1 *)(*param_1 + param_2) = 0;\n  return;\n}" ({ "{") (expression_statement "param_1[1] = param_2;" (assignment_expression "param_1[1] = param_2" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(undefined1 *)(*param_1 + param_2) = 0;" (assignment_expression "*(undefined1 *)(*param_1 + param_2) = 0" (pointer_expression "*(undefined1 *)(*param_1 + param_2)" (* "*") (cast_expression "(undefined1 *)(*param_1 + param_2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + param_2)" (( "(") (binary_expression "*param_1 + param_2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (identifier "param_2")) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::string::_M_set_length(unsigned int) */

void __thiscall std::type_1::function_1(type_1 *var_1,type_2 var_2)

{
  *(type_2 *)(var_1 + 4) = var_2;
  *(type_3 *)(*(int *)var_1 + var_2) = 0;
  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: (primitive_type) declarator: (identifier)))) body: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier))))) right: (number_literal))) (return_statement))))

void MASKED(int *param_1,int param_2)

{
  param_1[1] = param_2;
  *(undefined1 *)(*param_1 + param_2) = 0;
  return;
}

