
/* std::string::~string() */

void __thiscall std::string::~string(string *this)

{
  if (*(string **)this != this + 0x10) {
    operator_delete(*(string **)this);
    return;
  }
  return;
}



void FUN_004a52d0(long *param_1)

{
  if ((long *)*param_1 != param_1 + 2) {
    FUN_0049e330((long *)*param_1);
    return;
  }
  return;
}


MOV RDX,qword ptr [RDI]
LEA RAX,[RDI + 0x10]
CMP RDX,RAX
JZ 0x004a52e8
MOV RDI,RDX
JMP 0x0049e330
RET
(translation_unit "void FUN_004a52d0(long *param_1)\n\n{\n  if ((long *)*param_1 != param_1 + 2) {\n    FUN_0049e330((long *)*param_1);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_004a52d0(long *param_1)\n\n{\n  if ((long *)*param_1 != param_1 + 2) {\n    FUN_0049e330((long *)*param_1);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_004a52d0(long *param_1)" identifier (parameter_list "(long *param_1)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  if ((long *)*param_1 != param_1 + 2) {\n    FUN_0049e330((long *)*param_1);\n    return;\n  }\n  return;\n}" { (if_statement "if ((long *)*param_1 != param_1 + 2) {\n    FUN_0049e330((long *)*param_1);\n    return;\n  }" if (parenthesized_expression "((long *)*param_1 != param_1 + 2)" ( (binary_expression "(long *)*param_1 != param_1 + 2" (cast_expression "(long *)*param_1" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) != (binary_expression "param_1 + 2" identifier + number_literal)) )) (compound_statement "{\n    FUN_0049e330((long *)*param_1);\n    return;\n  }" { (expression_statement "FUN_0049e330((long *)*param_1);" (call_expression "FUN_0049e330((long *)*param_1)" identifier (argument_list "((long *)*param_1)" ( (cast_expression "(long *)*param_1" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* std::string::~string() */\n\nvoid __thiscall std::string::~string(string *this)\n\n{\n  if (*(string **)this != this + 0x10) {\n    operator_delete(*(string **)this);\n    return;\n  }\n  return;\n}\n\n" comment (function_definition "void __thiscall std::string::~string(string *this)\n\n{\n  if (*(string **)this != this + 0x10) {\n    operator_delete(*(string **)this);\n    return;\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::string::~" identifier : : identifier : : ~) (function_declarator "string(string *this)" identifier (parameter_list "(string *this)" ( (parameter_declaration "string *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  if (*(string **)this != this + 0x10) {\n    operator_delete(*(string **)this);\n    return;\n  }\n  return;\n}" { (if_statement "if (*(string **)this != this + 0x10) {\n    operator_delete(*(string **)this);\n    return;\n  }" if (parenthesized_expression "(*(string **)this != this + 0x10)" ( (binary_expression "*(string **)this != this + 0x10" (pointer_expression "*(string **)this" * (cast_expression "(string **)this" ( (type_descriptor "string **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) != (binary_expression "this + 0x10" identifier + number_literal)) )) (compound_statement "{\n    operator_delete(*(string **)this);\n    return;\n  }" { (expression_statement "operator_delete(*(string **)this);" (call_expression "operator_delete(*(string **)this)" identifier (argument_list "(*(string **)this)" ( (pointer_expression "*(string **)this" * (cast_expression "(string **)this" ( (type_descriptor "string **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_004a52d0(long *param_1)\n\n{\n  if ((long *)*param_1 != param_1 + 2) {\n    FUN_0049e330((long *)*param_1);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_004a52d0(long *param_1)\n\n{\n  if ((long *)*param_1 != param_1 + 2) {\n    FUN_0049e330((long *)*param_1);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_004a52d0(long *param_1)" identifier (parameter_list "(long *param_1)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  if ((long *)*param_1 != param_1 + 2) {\n    FUN_0049e330((long *)*param_1);\n    return;\n  }\n  return;\n}" { (if_statement "if ((long *)*param_1 != param_1 + 2) {\n    FUN_0049e330((long *)*param_1);\n    return;\n  }" if (parenthesized_expression "((long *)*param_1 != param_1 + 2)" ( (binary_expression "(long *)*param_1 != param_1 + 2" (cast_expression "(long *)*param_1" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) != (binary_expression "param_1 + 2" identifier + number_literal)) )) (compound_statement "{\n    FUN_0049e330((long *)*param_1);\n    return;\n  }" { (expression_statement "FUN_0049e330((long *)*param_1);" (call_expression "FUN_0049e330((long *)*param_1)" identifier (argument_list "((long *)*param_1)" ( (cast_expression "(long *)*param_1" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) != (binary_expression IDENT + LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) ))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void FUN_004a52d0(long *param_1)\n\n{\n  if ((long *)*param_1 != param_1 + 2) {\n    FUN_0049e330((long *)*param_1);\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_004a52d0(long *param_1)" (identifier "FUN_004a52d0") (parameter_list "(long *param_1)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  if ((long *)*param_1 != param_1 + 2) {\n    FUN_0049e330((long *)*param_1);\n    return;\n  }\n  return;\n}" ({ "{") (if_statement "if ((long *)*param_1 != param_1 + 2) {\n    FUN_0049e330((long *)*param_1);\n    return;\n  }" (if "if") (parenthesized_expression "((long *)*param_1 != param_1 + 2)" (( "(") (binary_expression "(long *)*param_1 != param_1 + 2" (cast_expression "(long *)*param_1" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (!= "!=") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2"))) () ")")) (compound_statement "{\n    FUN_0049e330((long *)*param_1);\n    return;\n  }" ({ "{") (expression_statement "FUN_0049e330((long *)*param_1);" (call_expression "FUN_0049e330((long *)*param_1)" (identifier "FUN_0049e330") (argument_list "((long *)*param_1)" (( "(") (cast_expression "(long *)*param_1" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::string::~string() */

void __thiscall std::function_1::~function_1(function_1 *var_1)

{
  if (*(function_1 **)var_1 != var_1 + 0x10) {
    var_2(*(function_1 **)var_1);
    return;
  }
  return;
}


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

void MASKED(long *param_1)

{
  if ((long *)*param_1 != param_1 + 2) {
    FUN_0049e330((long *)*param_1);
    return;
  }
  return;
}

