
/* std::ios::bad() const */

uint __thiscall std::ios::bad(ios *this)

{
  return *(uint *)(this + 0x14) & 1;
}



uint FUN_00210ce0(int param_1)

{
  return *(uint *)(param_1 + 0x14) & 1;
}


MOV EAX,dword ptr [ESP + 0x4]
MOV EAX,dword ptr [EAX + 0x14]
AND EAX,0x1
RET
(translation_unit "uint FUN_00210ce0(int param_1)\n\n{\n  return *(uint *)(param_1 + 0x14) & 1;\n}\n\n" (function_definition "uint FUN_00210ce0(int param_1)\n\n{\n  return *(uint *)(param_1 + 0x14) & 1;\n}" type_identifier (function_declarator "FUN_00210ce0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  return *(uint *)(param_1 + 0x14) & 1;\n}" { (return_statement "return *(uint *)(param_1 + 0x14) & 1;" return (binary_expression "*(uint *)(param_1 + 0x14) & 1" (pointer_expression "*(uint *)(param_1 + 0x14)" * (cast_expression "(uint *)(param_1 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) & number_literal) ;) })))
(translation_unit "/* std::ios::bad() const */\n\nuint __thiscall std::ios::bad(ios *this)\n\n{\n  return *(uint *)(this + 0x14) & 1;\n}\n\n" comment (function_definition "uint __thiscall std::ios::bad(ios *this)\n\n{\n  return *(uint *)(this + 0x14) & 1;\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::ios::" identifier : : identifier : :) (function_declarator "bad(ios *this)" identifier (parameter_list "(ios *this)" ( (parameter_declaration "ios *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  return *(uint *)(this + 0x14) & 1;\n}" { (return_statement "return *(uint *)(this + 0x14) & 1;" return (binary_expression "*(uint *)(this + 0x14) & 1" (pointer_expression "*(uint *)(this + 0x14)" * (cast_expression "(uint *)(this + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x14)" ( (binary_expression "this + 0x14" identifier + number_literal) )))) & number_literal) ;) })))
(translation_unit "uint FUN_00210ce0(int param_1)\n\n{\n  return *(uint *)(param_1 + 0x14) & 1;\n}\n\n" (function_definition "uint FUN_00210ce0(int param_1)\n\n{\n  return *(uint *)(param_1 + 0x14) & 1;\n}" type_identifier (function_declarator "FUN_00210ce0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  return *(uint *)(param_1 + 0x14) & 1;\n}" { (return_statement "return *(uint *)(param_1 + 0x14) & 1;" return (binary_expression "*(uint *)(param_1 + 0x14) & 1" (pointer_expression "*(uint *)(param_1 + 0x14)" * (cast_expression "(uint *)(param_1 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + 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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) ;) })))
(function_definition "uint FUN_00210ce0(int param_1)\n\n{\n  return *(uint *)(param_1 + 0x14) & 1;\n}" (type_identifier "uint") (function_declarator "FUN_00210ce0(int param_1)" (identifier "FUN_00210ce0") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  return *(uint *)(param_1 + 0x14) & 1;\n}" ({ "{") (return_statement "return *(uint *)(param_1 + 0x14) & 1;" (return "return") (binary_expression "*(uint *)(param_1 + 0x14) & 1" (pointer_expression "*(uint *)(param_1 + 0x14)" (* "*") (cast_expression "(uint *)(param_1 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (& "&") (number_literal "1")) (; ";")) (} "}")))

/* std::ios::bad() const */

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

{
  return *(type_1 *)(var_1 + 0x14) & 1;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (return_statement (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))))))

uint MASKED(int param_1)

{
  return *(uint *)(param_1 + 0x14) & 1;
}

