
/* std::wios::operator bool() const */

bool __thiscall std::wios::operator_cast_to_bool(wios *this)

{
  return ((byte)this[0x14] & 5) == 0;
}



bool FUN_001d6d30(int param_1)

{
  return (*(byte *)(param_1 + 0x14) & 5) == 0;
}


MOV EAX,dword ptr [ESP + 0x4]
TEST byte ptr [EAX + 0x14],0x5
SETZ AL
RET
(translation_unit "bool FUN_001d6d30(int param_1)\n\n{\n  return (*(byte *)(param_1 + 0x14) & 5) == 0;\n}\n\n" (function_definition "bool FUN_001d6d30(int param_1)\n\n{\n  return (*(byte *)(param_1 + 0x14) & 5) == 0;\n}" primitive_type (function_declarator "FUN_001d6d30(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  return (*(byte *)(param_1 + 0x14) & 5) == 0;\n}" { (return_statement "return (*(byte *)(param_1 + 0x14) & 5) == 0;" return (binary_expression "(*(byte *)(param_1 + 0x14) & 5) == 0" (parenthesized_expression "(*(byte *)(param_1 + 0x14) & 5)" ( (binary_expression "*(byte *)(param_1 + 0x14) & 5" (pointer_expression "*(byte *)(param_1 + 0x14)" * (cast_expression "(byte *)(param_1 + 0x14)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) & number_literal) )) == number_literal) ;) })))
(translation_unit "/* std::wios::operator bool() const */\n\nbool __thiscall std::wios::operator_cast_to_bool(wios *this)\n\n{\n  return ((byte)this[0x14] & 5) == 0;\n}\n\n" comment (function_definition "bool __thiscall std::wios::operator_cast_to_bool(wios *this)\n\n{\n  return ((byte)this[0x14] & 5) == 0;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::wios::" identifier : : identifier : :) (function_declarator "operator_cast_to_bool(wios *this)" identifier (parameter_list "(wios *this)" ( (parameter_declaration "wios *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  return ((byte)this[0x14] & 5) == 0;\n}" { (return_statement "return ((byte)this[0x14] & 5) == 0;" return (binary_expression "((byte)this[0x14] & 5) == 0" (parenthesized_expression "((byte)this[0x14] & 5)" ( (binary_expression "(byte)this[0x14] & 5" (cast_expression "(byte)this[0x14]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "this[0x14]" identifier [ number_literal ])) & number_literal) )) == number_literal) ;) })))
(translation_unit "bool FUN_001d6d30(int param_1)\n\n{\n  return (*(byte *)(param_1 + 0x14) & 5) == 0;\n}\n\n" (function_definition "bool FUN_001d6d30(int param_1)\n\n{\n  return (*(byte *)(param_1 + 0x14) & 5) == 0;\n}" primitive_type (function_declarator "FUN_001d6d30(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  return (*(byte *)(param_1 + 0x14) & 5) == 0;\n}" { (return_statement "return (*(byte *)(param_1 + 0x14) & 5) == 0;" return (binary_expression "(*(byte *)(param_1 + 0x14) & 5) == 0" (parenthesized_expression "(*(byte *)(param_1 + 0x14) & 5)" ( (binary_expression "*(byte *)(param_1 + 0x14) & 5" (pointer_expression "*(byte *)(param_1 + 0x14)" * (cast_expression "(byte *)(param_1 + 0x14)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) & number_literal) )) == number_literal) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (return_statement return (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) ;) })))
(function_definition "bool FUN_001d6d30(int param_1)\n\n{\n  return (*(byte *)(param_1 + 0x14) & 5) == 0;\n}" (primitive_type "bool") (function_declarator "FUN_001d6d30(int param_1)" (identifier "FUN_001d6d30") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  return (*(byte *)(param_1 + 0x14) & 5) == 0;\n}" ({ "{") (return_statement "return (*(byte *)(param_1 + 0x14) & 5) == 0;" (return "return") (binary_expression "(*(byte *)(param_1 + 0x14) & 5) == 0" (parenthesized_expression "(*(byte *)(param_1 + 0x14) & 5)" (( "(") (binary_expression "*(byte *)(param_1 + 0x14) & 5" (pointer_expression "*(byte *)(param_1 + 0x14)" (* "*") (cast_expression "(byte *)(param_1 + 0x14)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (& "&") (number_literal "5")) () ")")) (== "==") (number_literal "0")) (; ";")) (} "}")))

/* std::wios::operator bool() const */

bool __thiscall std::type_1::function_1(type_1 *this)

{
  return ((type_2)this[0x14] & 5) == 0;
}


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

bool MASKED(int param_1)

{
  return (*(byte *)(param_1 + 0x14) & 5) == 0;
}

