
/* std::streambuf::setg(char*, char*, char*) */

void __thiscall std::streambuf::setg(streambuf *this,char *param_1,char *param_2,char *param_3)

{
  *(char **)(this + 4) = param_1;
  *(char **)(this + 8) = param_2;
  *(char **)(this + 0xc) = param_3;
  return;
}



void FUN_001f2750(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)

{
  *(undefined4 *)(param_1 + 4) = param_2;
  *(undefined4 *)(param_1 + 8) = param_3;
  *(undefined4 *)(param_1 + 0xc) = param_4;
  return;
}


MOV EAX,dword ptr [ESP + 0x4]
MOV EDX,dword ptr [ESP + 0x8]
MOV dword ptr [EAX + 0x4],EDX
MOV EDX,dword ptr [ESP + 0xc]
MOV dword ptr [EAX + 0x8],EDX
MOV EDX,dword ptr [ESP + 0x10]
MOV dword ptr [EAX + 0xc],EDX
RET
(translation_unit "void FUN_001f2750(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  *(undefined4 *)(param_1 + 4) = param_2;\n  *(undefined4 *)(param_1 + 8) = param_3;\n  *(undefined4 *)(param_1 + 0xc) = param_4;\n  return;\n}\n\n" (function_definition "void FUN_001f2750(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  *(undefined4 *)(param_1 + 4) = param_2;\n  *(undefined4 *)(param_1 + 8) = param_3;\n  *(undefined4 *)(param_1 + 0xc) = param_4;\n  return;\n}" primitive_type (function_declarator "FUN_001f2750(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  *(undefined4 *)(param_1 + 4) = param_2;\n  *(undefined4 *)(param_1 + 8) = param_3;\n  *(undefined4 *)(param_1 + 0xc) = param_4;\n  return;\n}" { (expression_statement "*(undefined4 *)(param_1 + 4) = param_2;" (assignment_expression "*(undefined4 *)(param_1 + 4) = param_2" (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 8) = param_3;" (assignment_expression "*(undefined4 *)(param_1 + 8) = param_3" (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 0xc) = param_4;" (assignment_expression "*(undefined4 *)(param_1 + 0xc) = param_4" (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* std::streambuf::setg(char*, char*, char*) */\n\nvoid __thiscall std::streambuf::setg(streambuf *this,char *param_1,char *param_2,char *param_3)\n\n{\n  *(char **)(this + 4) = param_1;\n  *(char **)(this + 8) = param_2;\n  *(char **)(this + 0xc) = param_3;\n  return;\n}\n\n" comment (function_definition "void __thiscall std::streambuf::setg(streambuf *this,char *param_1,char *param_2,char *param_3)\n\n{\n  *(char **)(this + 4) = param_1;\n  *(char **)(this + 8) = param_2;\n  *(char **)(this + 0xc) = param_3;\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::streambuf::" identifier : : identifier : :) (function_declarator "setg(streambuf *this,char *param_1,char *param_2,char *param_3)" identifier (parameter_list "(streambuf *this,char *param_1,char *param_2,char *param_3)" ( (parameter_declaration "streambuf *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  *(char **)(this + 4) = param_1;\n  *(char **)(this + 8) = param_2;\n  *(char **)(this + 0xc) = param_3;\n  return;\n}" { (expression_statement "*(char **)(this + 4) = param_1;" (assignment_expression "*(char **)(this + 4) = param_1" (pointer_expression "*(char **)(this + 4)" * (cast_expression "(char **)(this + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(char **)(this + 8) = param_2;" (assignment_expression "*(char **)(this + 8) = param_2" (pointer_expression "*(char **)(this + 8)" * (cast_expression "(char **)(this + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(char **)(this + 0xc) = param_3;" (assignment_expression "*(char **)(this + 0xc) = param_3" (pointer_expression "*(char **)(this + 0xc)" * (cast_expression "(char **)(this + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0xc)" ( (binary_expression "this + 0xc" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001f2750(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  *(undefined4 *)(param_1 + 4) = param_2;\n  *(undefined4 *)(param_1 + 8) = param_3;\n  *(undefined4 *)(param_1 + 0xc) = param_4;\n  return;\n}\n\n" (function_definition "void FUN_001f2750(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  *(undefined4 *)(param_1 + 4) = param_2;\n  *(undefined4 *)(param_1 + 8) = param_3;\n  *(undefined4 *)(param_1 + 0xc) = param_4;\n  return;\n}" primitive_type (function_declarator "FUN_001f2750(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  *(undefined4 *)(param_1 + 4) = param_2;\n  *(undefined4 *)(param_1 + 8) = param_3;\n  *(undefined4 *)(param_1 + 0xc) = param_4;\n  return;\n}" { (expression_statement "*(undefined4 *)(param_1 + 4) = param_2;" (assignment_expression "*(undefined4 *)(param_1 + 4) = param_2" (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 8) = param_3;" (assignment_expression "*(undefined4 *)(param_1 + 8) = param_3" (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 0xc) = param_4;" (assignment_expression "*(undefined4 *)(param_1 + 0xc) = param_4" (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_001f2750(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  *(undefined4 *)(param_1 + 4) = param_2;\n  *(undefined4 *)(param_1 + 8) = param_3;\n  *(undefined4 *)(param_1 + 0xc) = param_4;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001f2750(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" (identifier "FUN_001f2750") (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) () ")"))) (compound_statement "{\n  *(undefined4 *)(param_1 + 4) = param_2;\n  *(undefined4 *)(param_1 + 8) = param_3;\n  *(undefined4 *)(param_1 + 0xc) = param_4;\n  return;\n}" ({ "{") (expression_statement "*(undefined4 *)(param_1 + 4) = param_2;" (assignment_expression "*(undefined4 *)(param_1 + 4) = param_2" (pointer_expression "*(undefined4 *)(param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 8) = param_3;" (assignment_expression "*(undefined4 *)(param_1 + 8) = param_3" (pointer_expression "*(undefined4 *)(param_1 + 8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "param_3")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0xc) = param_4;" (assignment_expression "*(undefined4 *)(param_1 + 0xc) = param_4" (pointer_expression "*(undefined4 *)(param_1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "param_4")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::streambuf::setg(char*, char*, char*) */

void __thiscall std::type_1::function_1(type_1 *var_1,char *param_1,char *param_2,char *param_3)

{
  *(char **)(var_1 + 4) = param_1;
  *(char **)(var_1 + 8) = param_2;
  *(char **)(var_1 + 0xc) = param_3;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (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: (identifier) right: (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: (identifier) right: (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: (identifier) right: (number_literal))))) right: (identifier))) (return_statement))))

void MASKED(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)

{
  *(undefined4 *)(param_1 + 4) = param_2;
  *(undefined4 *)(param_1 + 8) = param_3;
  *(undefined4 *)(param_1 + 0xc) = param_4;
  return;
}

