
/* std::__basic_file<char>::is_open() const */

undefined4 __thiscall std::__basic_file<char>::is_open(__basic_file<char> *this)

{
  return CONCAT31((int3)((uint)*(int *)this >> 8),*(int *)this != 0);
}



undefined4 FUN_001e73e0(int *param_1)

{
  return CONCAT31((int3)((uint)*param_1 >> 8),*param_1 != 0);
}


MOV EAX,dword ptr [ESP + 0x4]
MOV EAX,dword ptr [EAX]
TEST EAX,EAX
SETNZ AL
RET
(translation_unit "undefined4 FUN_001e73e0(int *param_1)\n\n{\n  return CONCAT31((int3)((uint)*param_1 >> 8),*param_1 != 0);\n}\n\n" (function_definition "undefined4 FUN_001e73e0(int *param_1)\n\n{\n  return CONCAT31((int3)((uint)*param_1 >> 8),*param_1 != 0);\n}" type_identifier (function_declarator "FUN_001e73e0(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  return CONCAT31((int3)((uint)*param_1 >> 8),*param_1 != 0);\n}" { (return_statement "return CONCAT31((int3)((uint)*param_1 >> 8),*param_1 != 0);" return (call_expression "CONCAT31((int3)((uint)*param_1 >> 8),*param_1 != 0)" identifier (argument_list "((int3)((uint)*param_1 >> 8),*param_1 != 0)" ( (call_expression "(int3)((uint)*param_1 >> 8)" (parenthesized_expression "(int3)" ( identifier )) (argument_list "((uint)*param_1 >> 8)" ( (binary_expression "(uint)*param_1 >> 8" (binary_expression "(uint)*param_1" (parenthesized_expression "(uint)" ( identifier )) * identifier) >> number_literal) ))) , (binary_expression "*param_1 != 0" (pointer_expression "*param_1" * identifier) != number_literal) ))) ;) })))
(translation_unit "/* std::__basic_file<char>::is_open() const */\n\nundefined4 __thiscall std::__basic_file<char>::is_open(__basic_file<char> *this)\n\n{\n  return CONCAT31((int3)((uint)*(int *)this >> 8),*(int *)this != 0);\n}\n\n" comment (function_definition "undefined4 __thiscall std::__basic_file<char>::is_open(__basic_file<char> *this)\n\n{\n  return CONCAT31((int3)((uint)*(int *)this >> 8),*(int *)this != 0);\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::__basic_file<char>::" identifier : : identifier < primitive_type > : :) (function_declarator "is_open(__basic_file<char> *this)" identifier (parameter_list "(__basic_file<char> *this)" ( (parameter_declaration "__basic_file<char> *this" type_identifier (ERROR "<char>" < primitive_type >) (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  return CONCAT31((int3)((uint)*(int *)this >> 8),*(int *)this != 0);\n}" { (return_statement "return CONCAT31((int3)((uint)*(int *)this >> 8),*(int *)this != 0);" return (call_expression "CONCAT31((int3)((uint)*(int *)this >> 8),*(int *)this != 0)" identifier (argument_list "((int3)((uint)*(int *)this >> 8),*(int *)this != 0)" ( (call_expression "(int3)((uint)*(int *)this >> 8)" (parenthesized_expression "(int3)" ( identifier )) (argument_list "((uint)*(int *)this >> 8)" ( (binary_expression "(uint)*(int *)this >> 8" (binary_expression "(uint)*(int *)this" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) >> number_literal) ))) , (binary_expression "*(int *)this != 0" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) ))) ;) })))
(translation_unit "undefined4 FUN_001e73e0(int *param_1)\n\n{\n  return CONCAT31((int3)((uint)*param_1 >> 8),*param_1 != 0);\n}\n\n" (function_definition "undefined4 FUN_001e73e0(int *param_1)\n\n{\n  return CONCAT31((int3)((uint)*param_1 >> 8),*param_1 != 0);\n}" type_identifier (function_declarator "FUN_001e73e0(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  return CONCAT31((int3)((uint)*param_1 >> 8),*param_1 != 0);\n}" { (return_statement "return CONCAT31((int3)((uint)*param_1 >> 8),*param_1 != 0);" return (call_expression "CONCAT31((int3)((uint)*param_1 >> 8),*param_1 != 0)" identifier (argument_list "((int3)((uint)*param_1 >> 8),*param_1 != 0)" ( (call_expression "(int3)((uint)*param_1 >> 8)" (parenthesized_expression "(int3)" ( identifier )) (argument_list "((uint)*param_1 >> 8)" ( (binary_expression "(uint)*param_1 >> 8" (binary_expression "(uint)*param_1" (parenthesized_expression "(uint)" ( identifier )) * identifier) >> number_literal) ))) , (binary_expression "*param_1 != 0" (pointer_expression "*param_1" * identifier) != number_literal) ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (return_statement return (call_expression IDENT (argument_list ( (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) >> LIT) ))) , (binary_expression (pointer_expression * IDENT) != LIT) ))) ;) })))
(function_definition "undefined4 FUN_001e73e0(int *param_1)\n\n{\n  return CONCAT31((int3)((uint)*param_1 >> 8),*param_1 != 0);\n}" (type_identifier "undefined4") (function_declarator "FUN_001e73e0(int *param_1)" (identifier "FUN_001e73e0") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  return CONCAT31((int3)((uint)*param_1 >> 8),*param_1 != 0);\n}" ({ "{") (return_statement "return CONCAT31((int3)((uint)*param_1 >> 8),*param_1 != 0);" (return "return") (call_expression "CONCAT31((int3)((uint)*param_1 >> 8),*param_1 != 0)" (identifier "CONCAT31") (argument_list "((int3)((uint)*param_1 >> 8),*param_1 != 0)" (( "(") (call_expression "(int3)((uint)*param_1 >> 8)" (parenthesized_expression "(int3)" (( "(") (identifier "int3") () ")")) (argument_list "((uint)*param_1 >> 8)" (( "(") (binary_expression "(uint)*param_1 >> 8" (binary_expression "(uint)*param_1" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "param_1")) (>> ">>") (number_literal "8")) () ")"))) (, ",") (binary_expression "*param_1 != 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (!= "!=") (number_literal "0")) () ")"))) (; ";")) (} "}")))

/* std::__basic_file<char>::is_open() const */

type_1 __thiscall std::type_2<char>::function_1(type_2<char> *this)

{
  return var_1((int3)((uint)*(int *)this >> 8),*(int *)this != 0);
}


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

undefined4 MASKED(int *param_1)

{
  return CONCAT31((int3)((uint)*param_1 >> 8),*param_1 != 0);
}

