
/* std::__codecvt_utf16_base<wchar_t>::do_max_length() const */

int __thiscall
std::__codecvt_utf16_base<wchar_t>::do_max_length(__codecvt_utf16_base<wchar_t> *this)

{
  return (-(uint)((*(uint *)(this + 0x10) & 4) == 0) & 0xfffffffe) + 6;
}



int FUN_00207560(int param_1)

{
  return (-(uint)((*(uint *)(param_1 + 0x10) & 4) == 0) & 0xfffffffe) + 6;
}


MOV EAX,dword ptr [ESP + 0x4]
MOV EAX,dword ptr [EAX + 0x10]
AND EAX,0x4
CMP EAX,0x1
SBB EAX,EAX
AND EAX,0xfffffffe
ADD EAX,0x6
RET
(translation_unit "int FUN_00207560(int param_1)\n\n{\n  return (-(uint)((*(uint *)(param_1 + 0x10) & 4) == 0) & 0xfffffffe) + 6;\n}\n\n" (function_definition "int FUN_00207560(int param_1)\n\n{\n  return (-(uint)((*(uint *)(param_1 + 0x10) & 4) == 0) & 0xfffffffe) + 6;\n}" primitive_type (function_declarator "FUN_00207560(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  return (-(uint)((*(uint *)(param_1 + 0x10) & 4) == 0) & 0xfffffffe) + 6;\n}" { (return_statement "return (-(uint)((*(uint *)(param_1 + 0x10) & 4) == 0) & 0xfffffffe) + 6;" return (binary_expression "(-(uint)((*(uint *)(param_1 + 0x10) & 4) == 0) & 0xfffffffe) + 6" (parenthesized_expression "(-(uint)((*(uint *)(param_1 + 0x10) & 4) == 0) & 0xfffffffe)" ( (binary_expression "-(uint)((*(uint *)(param_1 + 0x10) & 4) == 0) & 0xfffffffe" (unary_expression "-(uint)((*(uint *)(param_1 + 0x10) & 4) == 0)" - (call_expression "(uint)((*(uint *)(param_1 + 0x10) & 4) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((*(uint *)(param_1 + 0x10) & 4) == 0)" ( (binary_expression "(*(uint *)(param_1 + 0x10) & 4) == 0" (parenthesized_expression "(*(uint *)(param_1 + 0x10) & 4)" ( (binary_expression "*(uint *)(param_1 + 0x10) & 4" (pointer_expression "*(uint *)(param_1 + 0x10)" * (cast_expression "(uint *)(param_1 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) & number_literal) )) == number_literal) )))) & number_literal) )) + number_literal) ;) })))
(translation_unit "/* std::__codecvt_utf16_base<wchar_t>::do_max_length() const */\n\nint __thiscall\nstd::__codecvt_utf16_base<wchar_t>::do_max_length(__codecvt_utf16_base<wchar_t> *this)\n\n{\n  return (-(uint)((*(uint *)(this + 0x10) & 4) == 0) & 0xfffffffe) + 6;\n}\n\n" comment (function_definition "int __thiscall\nstd::__codecvt_utf16_base<wchar_t>::do_max_length(__codecvt_utf16_base<wchar_t> *this)\n\n{\n  return (-(uint)((*(uint *)(this + 0x10) & 4) == 0) & 0xfffffffe) + 6;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::__codecvt_utf16_base<wchar_t>::" identifier : : identifier < identifier > : :) (function_declarator "do_max_length(__codecvt_utf16_base<wchar_t> *this)" identifier (parameter_list "(__codecvt_utf16_base<wchar_t> *this)" ( (parameter_declaration "__codecvt_utf16_base<wchar_t> *this" type_identifier (ERROR "<wchar_t>" < identifier >) (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  return (-(uint)((*(uint *)(this + 0x10) & 4) == 0) & 0xfffffffe) + 6;\n}" { (return_statement "return (-(uint)((*(uint *)(this + 0x10) & 4) == 0) & 0xfffffffe) + 6;" return (binary_expression "(-(uint)((*(uint *)(this + 0x10) & 4) == 0) & 0xfffffffe) + 6" (parenthesized_expression "(-(uint)((*(uint *)(this + 0x10) & 4) == 0) & 0xfffffffe)" ( (binary_expression "-(uint)((*(uint *)(this + 0x10) & 4) == 0) & 0xfffffffe" (unary_expression "-(uint)((*(uint *)(this + 0x10) & 4) == 0)" - (call_expression "(uint)((*(uint *)(this + 0x10) & 4) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((*(uint *)(this + 0x10) & 4) == 0)" ( (binary_expression "(*(uint *)(this + 0x10) & 4) == 0" (parenthesized_expression "(*(uint *)(this + 0x10) & 4)" ( (binary_expression "*(uint *)(this + 0x10) & 4" (pointer_expression "*(uint *)(this + 0x10)" * (cast_expression "(uint *)(this + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) & number_literal) )) == number_literal) )))) & number_literal) )) + number_literal) ;) })))
(translation_unit "int FUN_00207560(int param_1)\n\n{\n  return (-(uint)((*(uint *)(param_1 + 0x10) & 4) == 0) & 0xfffffffe) + 6;\n}\n\n" (function_definition "int FUN_00207560(int param_1)\n\n{\n  return (-(uint)((*(uint *)(param_1 + 0x10) & 4) == 0) & 0xfffffffe) + 6;\n}" primitive_type (function_declarator "FUN_00207560(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  return (-(uint)((*(uint *)(param_1 + 0x10) & 4) == 0) & 0xfffffffe) + 6;\n}" { (return_statement "return (-(uint)((*(uint *)(param_1 + 0x10) & 4) == 0) & 0xfffffffe) + 6;" return (binary_expression "(-(uint)((*(uint *)(param_1 + 0x10) & 4) == 0) & 0xfffffffe) + 6" (parenthesized_expression "(-(uint)((*(uint *)(param_1 + 0x10) & 4) == 0) & 0xfffffffe)" ( (binary_expression "-(uint)((*(uint *)(param_1 + 0x10) & 4) == 0) & 0xfffffffe" (unary_expression "-(uint)((*(uint *)(param_1 + 0x10) & 4) == 0)" - (call_expression "(uint)((*(uint *)(param_1 + 0x10) & 4) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((*(uint *)(param_1 + 0x10) & 4) == 0)" ( (binary_expression "(*(uint *)(param_1 + 0x10) & 4) == 0" (parenthesized_expression "(*(uint *)(param_1 + 0x10) & 4)" ( (binary_expression "*(uint *)(param_1 + 0x10) & 4" (pointer_expression "*(uint *)(param_1 + 0x10)" * (cast_expression "(uint *)(param_1 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) & number_literal) )) == 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 (unary_expression - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )))) & LIT) )) + LIT) ;) })))
(function_definition "int FUN_00207560(int param_1)\n\n{\n  return (-(uint)((*(uint *)(param_1 + 0x10) & 4) == 0) & 0xfffffffe) + 6;\n}" (primitive_type "int") (function_declarator "FUN_00207560(int param_1)" (identifier "FUN_00207560") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  return (-(uint)((*(uint *)(param_1 + 0x10) & 4) == 0) & 0xfffffffe) + 6;\n}" ({ "{") (return_statement "return (-(uint)((*(uint *)(param_1 + 0x10) & 4) == 0) & 0xfffffffe) + 6;" (return "return") (binary_expression "(-(uint)((*(uint *)(param_1 + 0x10) & 4) == 0) & 0xfffffffe) + 6" (parenthesized_expression "(-(uint)((*(uint *)(param_1 + 0x10) & 4) == 0) & 0xfffffffe)" (( "(") (binary_expression "-(uint)((*(uint *)(param_1 + 0x10) & 4) == 0) & 0xfffffffe" (unary_expression "-(uint)((*(uint *)(param_1 + 0x10) & 4) == 0)" (- "-") (call_expression "(uint)((*(uint *)(param_1 + 0x10) & 4) == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((*(uint *)(param_1 + 0x10) & 4) == 0)" (( "(") (binary_expression "(*(uint *)(param_1 + 0x10) & 4) == 0" (parenthesized_expression "(*(uint *)(param_1 + 0x10) & 4)" (( "(") (binary_expression "*(uint *)(param_1 + 0x10) & 4" (pointer_expression "*(uint *)(param_1 + 0x10)" (* "*") (cast_expression "(uint *)(param_1 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (& "&") (number_literal "4")) () ")")) (== "==") (number_literal "0")) () ")")))) (& "&") (number_literal "0xfffffffe")) () ")")) (+ "+") (number_literal "6")) (; ";")) (} "}")))

/* std::__codecvt_utf16_base<wchar_t>::do_max_length() const */

int __thiscall
std::type_1<wchar_t>::function_1(type_1<wchar_t> *var_1)

{
  return (-(type_2)((*(type_2 *)(var_1 + 0x10) & 4) == 0) & 0xfffffffe) + 6;
}


(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: (unary_expression argument: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (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))))) right: (number_literal))) right: (number_literal))))))

int MASKED(int param_1)

{
  return (-(uint)((*(uint *)(param_1 + 0x10) & 4) == 0) & 0xfffffffe) + 6;
}

