
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::wstring::_M_dispose() */

void __thiscall std::wstring::_M_dispose(wstring *this)

{
  if (*(wstring **)this != this + 8) {
    operator_delete(*(wstring **)this);
  }
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void FUN_001eab30(int *param_1)

{
  if ((int *)*param_1 != param_1 + 2) {
    FUN_001e6db0((int *)*param_1);
  }
  return;
}


PUSH EBX
CALL 0x00035840
ADD EBX,0x1a44ca
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x10]
MOV EDX,dword ptr [EAX]
ADD EAX,0x8
CMP EDX,EAX
JZ 0x001eab58
SUB ESP,0xc
PUSH EDX
CALL 0x001e6db0
ADD ESP,0x10
ADD ESP,0x8
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_001eab30(int *param_1)\n\n{\n  if ((int *)*param_1 != param_1 + 2) {\n    FUN_001e6db0((int *)*param_1);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_001eab30(int *param_1)\n\n{\n  if ((int *)*param_1 != param_1 + 2) {\n    FUN_001e6db0((int *)*param_1);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001eab30(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  if ((int *)*param_1 != param_1 + 2) {\n    FUN_001e6db0((int *)*param_1);\n  }\n  return;\n}" { (if_statement "if ((int *)*param_1 != param_1 + 2) {\n    FUN_001e6db0((int *)*param_1);\n  }" if (parenthesized_expression "((int *)*param_1 != param_1 + 2)" ( (binary_expression "(int *)*param_1 != param_1 + 2" (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) != (binary_expression "param_1 + 2" identifier + number_literal)) )) (compound_statement "{\n    FUN_001e6db0((int *)*param_1);\n  }" { (expression_statement "FUN_001e6db0((int *)*param_1);" (call_expression "FUN_001e6db0((int *)*param_1)" identifier (argument_list "((int *)*param_1)" ( (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::wstring::_M_dispose() */\n\nvoid __thiscall std::wstring::_M_dispose(wstring *this)\n\n{\n  if (*(wstring **)this != this + 8) {\n    operator_delete(*(wstring **)this);\n  }\n  return;\n}\n\n" comment comment (function_definition "void __thiscall std::wstring::_M_dispose(wstring *this)\n\n{\n  if (*(wstring **)this != this + 8) {\n    operator_delete(*(wstring **)this);\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::wstring::" identifier : : identifier : :) (function_declarator "_M_dispose(wstring *this)" identifier (parameter_list "(wstring *this)" ( (parameter_declaration "wstring *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  if (*(wstring **)this != this + 8) {\n    operator_delete(*(wstring **)this);\n  }\n  return;\n}" { (if_statement "if (*(wstring **)this != this + 8) {\n    operator_delete(*(wstring **)this);\n  }" if (parenthesized_expression "(*(wstring **)this != this + 8)" ( (binary_expression "*(wstring **)this != this + 8" (pointer_expression "*(wstring **)this" * (cast_expression "(wstring **)this" ( (type_descriptor "wstring **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) != (binary_expression "this + 8" identifier + number_literal)) )) (compound_statement "{\n    operator_delete(*(wstring **)this);\n  }" { (expression_statement "operator_delete(*(wstring **)this);" (call_expression "operator_delete(*(wstring **)this)" identifier (argument_list "(*(wstring **)this)" ( (pointer_expression "*(wstring **)this" * (cast_expression "(wstring **)this" ( (type_descriptor "wstring **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001eab30(int *param_1)\n\n{\n  if ((int *)*param_1 != param_1 + 2) {\n    FUN_001e6db0((int *)*param_1);\n  }\n  return;\n}\n\n" (function_definition "void FUN_001eab30(int *param_1)\n\n{\n  if ((int *)*param_1 != param_1 + 2) {\n    FUN_001e6db0((int *)*param_1);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001eab30(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  if ((int *)*param_1 != param_1 + 2) {\n    FUN_001e6db0((int *)*param_1);\n  }\n  return;\n}" { (if_statement "if ((int *)*param_1 != param_1 + 2) {\n    FUN_001e6db0((int *)*param_1);\n  }" if (parenthesized_expression "((int *)*param_1 != param_1 + 2)" ( (binary_expression "(int *)*param_1 != param_1 + 2" (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) != (binary_expression "param_1 + 2" identifier + number_literal)) )) (compound_statement "{\n    FUN_001e6db0((int *)*param_1);\n  }" { (expression_statement "FUN_001e6db0((int *)*param_1);" (call_expression "FUN_001e6db0((int *)*param_1)" identifier (argument_list "((int *)*param_1)" ( (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) != (binary_expression IDENT + LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) ))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_001eab30(int *param_1)\n\n{\n  if ((int *)*param_1 != param_1 + 2) {\n    FUN_001e6db0((int *)*param_1);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001eab30(int *param_1)" (identifier "FUN_001eab30") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  if ((int *)*param_1 != param_1 + 2) {\n    FUN_001e6db0((int *)*param_1);\n  }\n  return;\n}" ({ "{") (if_statement "if ((int *)*param_1 != param_1 + 2) {\n    FUN_001e6db0((int *)*param_1);\n  }" (if "if") (parenthesized_expression "((int *)*param_1 != param_1 + 2)" (( "(") (binary_expression "(int *)*param_1 != param_1 + 2" (cast_expression "(int *)*param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (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_001e6db0((int *)*param_1);\n  }" ({ "{") (expression_statement "FUN_001e6db0((int *)*param_1);" (call_expression "FUN_001e6db0((int *)*param_1)" (identifier "FUN_001e6db0") (argument_list "((int *)*param_1)" (( "(") (cast_expression "(int *)*param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::wstring::_M_dispose() */

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

{
  if (*(type_1 **)var_1 != var_1 + 8) {
    var_2(*(type_1 **)var_1);
  }
  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))))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type) 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: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))))))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void MASKED(int *param_1)

{
  if ((int *)*param_1 != param_1 + 2) {
    FUN_001e6db0((int *)*param_1);
  }
  return;
}

