
/* std::messages<char>::get(int, int, int, std::string const&) const */

undefined8 std::messages<char>::get(int param_1,int param_2,int param_3,string *param_4)

{
  undefined4 in_register_00000034;
  undefined4 in_register_0000003c;
  
  (**(code **)(*(long *)CONCAT44(in_register_00000034,param_2) + 0x18))();
  return CONCAT44(in_register_0000003c,param_1);
}



undefined8 FUN_0034f5e0(undefined8 param_1,long *param_2)

{
  (**(code **)(*param_2 + 0x18))();
  return param_1;
}


MOV RAX,qword ptr [RSI]
PUSH RBX
MOV RBX,RDI
CALL qword ptr [RAX + 0x18]
MOV RAX,RBX
POP RBX
RET
(translation_unit "undefined8 FUN_0034f5e0(undefined8 param_1,long *param_2)\n\n{\n  (**(code **)(*param_2 + 0x18))();\n  return param_1;\n}\n\n" (function_definition "undefined8 FUN_0034f5e0(undefined8 param_1,long *param_2)\n\n{\n  (**(code **)(*param_2 + 0x18))();\n  return param_1;\n}" type_identifier (function_declarator "FUN_0034f5e0(undefined8 param_1,long *param_2)" identifier (parameter_list "(undefined8 param_1,long *param_2)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "long *param_2" (sized_type_specifier "long" long) (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  (**(code **)(*param_2 + 0x18))();\n  return param_1;\n}" { (expression_statement "(**(code **)(*param_2 + 0x18))();" (call_expression "(**(code **)(*param_2 + 0x18))()" (parenthesized_expression "(**(code **)(*param_2 + 0x18))" ( (pointer_expression "**(code **)(*param_2 + 0x18)" * (pointer_expression "*(code **)(*param_2 + 0x18)" * (cast_expression "(code **)(*param_2 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x18)" ( (binary_expression "*param_2 + 0x18" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "()" ( ))) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* std::messages<char>::get(int, int, int, std::string const&) const */\n\nundefined8 std::messages<char>::get(int param_1,int param_2,int param_3,string *param_4)\n\n{\n  undefined4 in_register_00000034;\n  undefined4 in_register_0000003c;\n  \n  (**(code **)(*(long *)CONCAT44(in_register_00000034,param_2) + 0x18))();\n  return CONCAT44(in_register_0000003c,param_1);\n}\n\n" comment (function_definition "undefined8 std::messages<char>::get(int param_1,int param_2,int param_3,string *param_4)\n\n{\n  undefined4 in_register_00000034;\n  undefined4 in_register_0000003c;\n  \n  (**(code **)(*(long *)CONCAT44(in_register_00000034,param_2) + 0x18))();\n  return CONCAT44(in_register_0000003c,param_1);\n}" type_identifier (ERROR "std::messages<char>::" identifier : : identifier < primitive_type > : :) (function_declarator "get(int param_1,int param_2,int param_3,string *param_4)" identifier (parameter_list "(int param_1,int param_2,int param_3,string *param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "string *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  undefined4 in_register_00000034;\n  undefined4 in_register_0000003c;\n  \n  (**(code **)(*(long *)CONCAT44(in_register_00000034,param_2) + 0x18))();\n  return CONCAT44(in_register_0000003c,param_1);\n}" { (declaration "undefined4 in_register_00000034;" type_identifier identifier ;) (declaration "undefined4 in_register_0000003c;" type_identifier identifier ;) (expression_statement "(**(code **)(*(long *)CONCAT44(in_register_00000034,param_2) + 0x18))();" (call_expression "(**(code **)(*(long *)CONCAT44(in_register_00000034,param_2) + 0x18))()" (parenthesized_expression "(**(code **)(*(long *)CONCAT44(in_register_00000034,param_2) + 0x18))" ( (pointer_expression "**(code **)(*(long *)CONCAT44(in_register_00000034,param_2) + 0x18)" * (pointer_expression "*(code **)(*(long *)CONCAT44(in_register_00000034,param_2) + 0x18)" * (cast_expression "(code **)(*(long *)CONCAT44(in_register_00000034,param_2) + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)CONCAT44(in_register_00000034,param_2) + 0x18)" ( (binary_expression "*(long *)CONCAT44(in_register_00000034,param_2) + 0x18" (pointer_expression "*(long *)CONCAT44(in_register_00000034,param_2)" * (cast_expression "(long *)CONCAT44(in_register_00000034,param_2)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "CONCAT44(in_register_00000034,param_2)" identifier (argument_list "(in_register_00000034,param_2)" ( identifier , identifier ))))) + number_literal) ))))) )) (argument_list "()" ( ))) ;) (return_statement "return CONCAT44(in_register_0000003c,param_1);" return (call_expression "CONCAT44(in_register_0000003c,param_1)" identifier (argument_list "(in_register_0000003c,param_1)" ( identifier , identifier ))) ;) })))
(translation_unit "undefined8 FUN_0034f5e0(undefined8 param_1,long *param_2)\n\n{\n  (**(code **)(*param_2 + 0x18))();\n  return param_1;\n}\n\n" (function_definition "undefined8 FUN_0034f5e0(undefined8 param_1,long *param_2)\n\n{\n  (**(code **)(*param_2 + 0x18))();\n  return param_1;\n}" type_identifier (function_declarator "FUN_0034f5e0(undefined8 param_1,long *param_2)" identifier (parameter_list "(undefined8 param_1,long *param_2)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "long *param_2" (sized_type_specifier "long" long) (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  (**(code **)(*param_2 + 0x18))();\n  return param_1;\n}" { (expression_statement "(**(code **)(*param_2 + 0x18))();" (call_expression "(**(code **)(*param_2 + 0x18))()" (parenthesized_expression "(**(code **)(*param_2 + 0x18))" ( (pointer_expression "**(code **)(*param_2 + 0x18)" * (pointer_expression "*(code **)(*param_2 + 0x18)" * (cast_expression "(code **)(*param_2 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x18)" ( (binary_expression "*param_2 + 0x18" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "()" ( ))) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) ))) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( ))) ;) (return_statement return IDENT ;) })))
(function_definition "undefined8 FUN_0034f5e0(undefined8 param_1,long *param_2)\n\n{\n  (**(code **)(*param_2 + 0x18))();\n  return param_1;\n}" (type_identifier "undefined8") (function_declarator "FUN_0034f5e0(undefined8 param_1,long *param_2)" (identifier "FUN_0034f5e0") (parameter_list "(undefined8 param_1,long *param_2)" (( "(") (parameter_declaration "undefined8 param_1" (type_identifier "undefined8") (identifier "param_1")) (, ",") (parameter_declaration "long *param_2" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  (**(code **)(*param_2 + 0x18))();\n  return param_1;\n}" ({ "{") (expression_statement "(**(code **)(*param_2 + 0x18))();" (call_expression "(**(code **)(*param_2 + 0x18))()" (parenthesized_expression "(**(code **)(*param_2 + 0x18))" (( "(") (pointer_expression "**(code **)(*param_2 + 0x18)" (* "*") (pointer_expression "*(code **)(*param_2 + 0x18)" (* "*") (cast_expression "(code **)(*param_2 + 0x18)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_2 + 0x18)" (( "(") (binary_expression "*param_2 + 0x18" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "0x18")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* std::messages<char>::get(int, int, int, std::string const&) const */

type_1 std::messages<char>::function_1(int param_1,int param_2,int param_3,type_2 *param_4)

{
  type_3 in_register_00000034;
  type_3 in_register_0000003c;
  
  (**(type_4 **)(*(long *)var_1(in_register_00000034,param_2) + 0x18))();
  return var_1(in_register_0000003c,param_1);
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list))) (return_statement (identifier)))))

undefined8 MASKED(undefined8 param_1,long *param_2)

{
  (**(code **)(*param_2 + 0x18))();
  return param_1;
}

