
/* __cxxabiv1::__class_type_info::__do_upcast(__cxxabiv1::__class_type_info const*, void**) const */

bool __thiscall
__cxxabiv1::__class_type_info::__do_upcast
          (__class_type_info *this,__class_type_info *param_1,void **param_2)

{
  bool bVar1;
  void *local_28;
  undefined8 local_20;
  undefined8 local_18;
  
  local_20 = 0x1000000000;
  local_28 = (void *)0x0;
  local_18 = 0;
  (**(code **)(*(long *)this + 0x30))(this,param_1,*param_2,&local_28);
  bVar1 = ((uint)local_20 & 6) == 6;
  if (bVar1) {
    *param_2 = local_28;
  }
  return bVar1;
}



bool FUN_00338a50(long *param_1,undefined8 param_2,undefined8 *param_3)

{
  bool bVar1;
  undefined8 local_28;
  undefined8 local_20;
  undefined8 local_18;
  
  local_20 = 0x1000000000;
  local_28 = 0;
  local_18 = 0;
  (**(code **)(*param_1 + 0x30))(param_1,param_2,*param_3,&local_28);
  bVar1 = ((uint)local_20 & 6) == 6;
  if (bVar1) {
    *param_3 = local_28;
  }
  return bVar1;
}


MOV RAX,0x1000000000
PUSH RBX
MOV RBX,RDX
SUB RSP,0x20
MOV RDX,qword ptr [RDX]
MOV qword ptr [RSP + 0x8],RAX
MOV RAX,qword ptr [RDI]
MOV RCX,RSP
MOV qword ptr [RSP],0x0
MOV qword ptr [RSP + 0x10],0x0
CALL qword ptr [RAX + 0x30]
MOV EDX,dword ptr [RSP + 0x8]
XOR EAX,EAX
AND EDX,0x6
CMP EDX,0x6
JNZ 0x00338a9e
MOV RAX,qword ptr [RSP]
MOV qword ptr [RBX],RAX
MOV EAX,0x1
ADD RSP,0x20
POP RBX
RET
(translation_unit "bool FUN_00338a50(long *param_1,undefined8 param_2,undefined8 *param_3)\n\n{\n  bool bVar1;\n  undefined8 local_28;\n  undefined8 local_20;\n  undefined8 local_18;\n  \n  local_20 = 0x1000000000;\n  local_28 = 0;\n  local_18 = 0;\n  (**(code **)(*param_1 + 0x30))(param_1,param_2,*param_3,&local_28);\n  bVar1 = ((uint)local_20 & 6) == 6;\n  if (bVar1) {\n    *param_3 = local_28;\n  }\n  return bVar1;\n}\n\n" (function_definition "bool FUN_00338a50(long *param_1,undefined8 param_2,undefined8 *param_3)\n\n{\n  bool bVar1;\n  undefined8 local_28;\n  undefined8 local_20;\n  undefined8 local_18;\n  \n  local_20 = 0x1000000000;\n  local_28 = 0;\n  local_18 = 0;\n  (**(code **)(*param_1 + 0x30))(param_1,param_2,*param_3,&local_28);\n  bVar1 = ((uint)local_20 & 6) == 6;\n  if (bVar1) {\n    *param_3 = local_28;\n  }\n  return bVar1;\n}" primitive_type (function_declarator "FUN_00338a50(long *param_1,undefined8 param_2,undefined8 *param_3)" identifier (parameter_list "(long *param_1,undefined8 param_2,undefined8 *param_3)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined8 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  bool bVar1;\n  undefined8 local_28;\n  undefined8 local_20;\n  undefined8 local_18;\n  \n  local_20 = 0x1000000000;\n  local_28 = 0;\n  local_18 = 0;\n  (**(code **)(*param_1 + 0x30))(param_1,param_2,*param_3,&local_28);\n  bVar1 = ((uint)local_20 & 6) == 6;\n  if (bVar1) {\n    *param_3 = local_28;\n  }\n  return bVar1;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "undefined8 local_28;" type_identifier identifier ;) (declaration "undefined8 local_20;" type_identifier identifier ;) (declaration "undefined8 local_18;" type_identifier identifier ;) (expression_statement "local_20 = 0x1000000000;" (assignment_expression "local_20 = 0x1000000000" identifier = number_literal) ;) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "local_18 = 0;" (assignment_expression "local_18 = 0" identifier = number_literal) ;) (expression_statement "(**(code **)(*param_1 + 0x30))(param_1,param_2,*param_3,&local_28);" (call_expression "(**(code **)(*param_1 + 0x30))(param_1,param_2,*param_3,&local_28)" (parenthesized_expression "(**(code **)(*param_1 + 0x30))" ( (pointer_expression "**(code **)(*param_1 + 0x30)" * (pointer_expression "*(code **)(*param_1 + 0x30)" * (cast_expression "(code **)(*param_1 + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x30)" ( (binary_expression "*param_1 + 0x30" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1,param_2,*param_3,&local_28)" ( identifier , identifier , (pointer_expression "*param_3" * identifier) , (pointer_expression "&local_28" & identifier) ))) ;) (expression_statement "bVar1 = ((uint)local_20 & 6) == 6;" (assignment_expression "bVar1 = ((uint)local_20 & 6) == 6" identifier = (binary_expression "((uint)local_20 & 6) == 6" (parenthesized_expression "((uint)local_20 & 6)" ( (binary_expression "(uint)local_20 & 6" (cast_expression "(uint)local_20" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) == number_literal)) ;) (if_statement "if (bVar1) {\n    *param_3 = local_28;\n  }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n    *param_3 = local_28;\n  }" { (expression_statement "*param_3 = local_28;" (assignment_expression "*param_3 = local_28" (pointer_expression "*param_3" * identifier) = identifier) ;) })) (return_statement "return bVar1;" return identifier ;) })))
(translation_unit "/* __cxxabiv1::__class_type_info::__do_upcast(__cxxabiv1::__class_type_info const*, void**) const */\n\nbool __thiscall\n__cxxabiv1::__class_type_info::__do_upcast\n          (__class_type_info *this,__class_type_info *param_1,void **param_2)\n\n{\n  bool bVar1;\n  void *local_28;\n  undefined8 local_20;\n  undefined8 local_18;\n  \n  local_20 = 0x1000000000;\n  local_28 = (void *)0x0;\n  local_18 = 0;\n  (**(code **)(*(long *)this + 0x30))(this,param_1,*param_2,&local_28);\n  bVar1 = ((uint)local_20 & 6) == 6;\n  if (bVar1) {\n    *param_2 = local_28;\n  }\n  return bVar1;\n}\n\n" comment (function_definition "bool __thiscall\n__cxxabiv1::__class_type_info::__do_upcast\n          (__class_type_info *this,__class_type_info *param_1,void **param_2)\n\n{\n  bool bVar1;\n  void *local_28;\n  undefined8 local_20;\n  undefined8 local_18;\n  \n  local_20 = 0x1000000000;\n  local_28 = (void *)0x0;\n  local_18 = 0;\n  (**(code **)(*(long *)this + 0x30))(this,param_1,*param_2,&local_28);\n  bVar1 = ((uint)local_20 & 6) == 6;\n  if (bVar1) {\n    *param_2 = local_28;\n  }\n  return bVar1;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "__cxxabiv1::__class_type_info::" identifier : : identifier : :) (function_declarator "__do_upcast\n          (__class_type_info *this,__class_type_info *param_1,void **param_2)" identifier (parameter_list "(__class_type_info *this,__class_type_info *param_1,void **param_2)" ( (parameter_declaration "__class_type_info *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "__class_type_info *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "void **param_2" primitive_type (pointer_declarator "**param_2" * (pointer_declarator "*param_2" * identifier))) ))) (compound_statement "{\n  bool bVar1;\n  void *local_28;\n  undefined8 local_20;\n  undefined8 local_18;\n  \n  local_20 = 0x1000000000;\n  local_28 = (void *)0x0;\n  local_18 = 0;\n  (**(code **)(*(long *)this + 0x30))(this,param_1,*param_2,&local_28);\n  bVar1 = ((uint)local_20 & 6) == 6;\n  if (bVar1) {\n    *param_2 = local_28;\n  }\n  return bVar1;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "void *local_28;" primitive_type (pointer_declarator "*local_28" * identifier) ;) (declaration "undefined8 local_20;" type_identifier identifier ;) (declaration "undefined8 local_18;" type_identifier identifier ;) (expression_statement "local_20 = 0x1000000000;" (assignment_expression "local_20 = 0x1000000000" identifier = number_literal) ;) (expression_statement "local_28 = (void *)0x0;" (assignment_expression "local_28 = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_18 = 0;" (assignment_expression "local_18 = 0" identifier = number_literal) ;) (expression_statement "(**(code **)(*(long *)this + 0x30))(this,param_1,*param_2,&local_28);" (call_expression "(**(code **)(*(long *)this + 0x30))(this,param_1,*param_2,&local_28)" (parenthesized_expression "(**(code **)(*(long *)this + 0x30))" ( (pointer_expression "**(code **)(*(long *)this + 0x30)" * (pointer_expression "*(code **)(*(long *)this + 0x30)" * (cast_expression "(code **)(*(long *)this + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)this + 0x30)" ( (binary_expression "*(long *)this + 0x30" (pointer_expression "*(long *)this" * (cast_expression "(long *)this" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )) (argument_list "(this,param_1,*param_2,&local_28)" ( identifier , identifier , (pointer_expression "*param_2" * identifier) , (pointer_expression "&local_28" & identifier) ))) ;) (expression_statement "bVar1 = ((uint)local_20 & 6) == 6;" (assignment_expression "bVar1 = ((uint)local_20 & 6) == 6" identifier = (binary_expression "((uint)local_20 & 6) == 6" (parenthesized_expression "((uint)local_20 & 6)" ( (binary_expression "(uint)local_20 & 6" (cast_expression "(uint)local_20" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) == number_literal)) ;) (if_statement "if (bVar1) {\n    *param_2 = local_28;\n  }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n    *param_2 = local_28;\n  }" { (expression_statement "*param_2 = local_28;" (assignment_expression "*param_2 = local_28" (pointer_expression "*param_2" * identifier) = identifier) ;) })) (return_statement "return bVar1;" return identifier ;) })))
(translation_unit "bool FUN_00338a50(long *param_1,undefined8 param_2,undefined8 *param_3)\n\n{\n  bool bVar1;\n  undefined8 local_28;\n  undefined8 local_20;\n  undefined8 local_18;\n  \n  local_20 = 0x1000000000;\n  local_28 = 0;\n  local_18 = 0;\n  (**(code **)(*param_1 + 0x30))(param_1,param_2,*param_3,&local_28);\n  bVar1 = ((uint)local_20 & 6) == 6;\n  if (bVar1) {\n    *param_3 = local_28;\n  }\n  return bVar1;\n}\n\n" (function_definition "bool FUN_00338a50(long *param_1,undefined8 param_2,undefined8 *param_3)\n\n{\n  bool bVar1;\n  undefined8 local_28;\n  undefined8 local_20;\n  undefined8 local_18;\n  \n  local_20 = 0x1000000000;\n  local_28 = 0;\n  local_18 = 0;\n  (**(code **)(*param_1 + 0x30))(param_1,param_2,*param_3,&local_28);\n  bVar1 = ((uint)local_20 & 6) == 6;\n  if (bVar1) {\n    *param_3 = local_28;\n  }\n  return bVar1;\n}" primitive_type (function_declarator "FUN_00338a50(long *param_1,undefined8 param_2,undefined8 *param_3)" identifier (parameter_list "(long *param_1,undefined8 param_2,undefined8 *param_3)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined8 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  bool bVar1;\n  undefined8 local_28;\n  undefined8 local_20;\n  undefined8 local_18;\n  \n  local_20 = 0x1000000000;\n  local_28 = 0;\n  local_18 = 0;\n  (**(code **)(*param_1 + 0x30))(param_1,param_2,*param_3,&local_28);\n  bVar1 = ((uint)local_20 & 6) == 6;\n  if (bVar1) {\n    *param_3 = local_28;\n  }\n  return bVar1;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "undefined8 local_28;" type_identifier identifier ;) (declaration "undefined8 local_20;" type_identifier identifier ;) (declaration "undefined8 local_18;" type_identifier identifier ;) (expression_statement "local_20 = 0x1000000000;" (assignment_expression "local_20 = 0x1000000000" identifier = number_literal) ;) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "local_18 = 0;" (assignment_expression "local_18 = 0" identifier = number_literal) ;) (expression_statement "(**(code **)(*param_1 + 0x30))(param_1,param_2,*param_3,&local_28);" (call_expression "(**(code **)(*param_1 + 0x30))(param_1,param_2,*param_3,&local_28)" (parenthesized_expression "(**(code **)(*param_1 + 0x30))" ( (pointer_expression "**(code **)(*param_1 + 0x30)" * (pointer_expression "*(code **)(*param_1 + 0x30)" * (cast_expression "(code **)(*param_1 + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x30)" ( (binary_expression "*param_1 + 0x30" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1,param_2,*param_3,&local_28)" ( identifier , identifier , (pointer_expression "*param_3" * identifier) , (pointer_expression "&local_28" & identifier) ))) ;) (expression_statement "bVar1 = ((uint)local_20 & 6) == 6;" (assignment_expression "bVar1 = ((uint)local_20 & 6) == 6" identifier = (binary_expression "((uint)local_20 & 6) == 6" (parenthesized_expression "((uint)local_20 & 6)" ( (binary_expression "(uint)local_20 & 6" (cast_expression "(uint)local_20" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) == number_literal)) ;) (if_statement "if (bVar1) {\n    *param_3 = local_28;\n  }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n    *param_3 = local_28;\n  }" { (expression_statement "*param_3 = local_28;" (assignment_expression "*param_3 = local_28" (pointer_expression "*param_3" * identifier) = identifier) ;) })) (return_statement "return bVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , IDENT , (pointer_expression * IDENT) , (pointer_expression & IDENT) ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) )) == LIT)) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) })) (return_statement return IDENT ;) })))
(function_definition "bool FUN_00338a50(long *param_1,undefined8 param_2,undefined8 *param_3)\n\n{\n  bool bVar1;\n  undefined8 local_28;\n  undefined8 local_20;\n  undefined8 local_18;\n  \n  local_20 = 0x1000000000;\n  local_28 = 0;\n  local_18 = 0;\n  (**(code **)(*param_1 + 0x30))(param_1,param_2,*param_3,&local_28);\n  bVar1 = ((uint)local_20 & 6) == 6;\n  if (bVar1) {\n    *param_3 = local_28;\n  }\n  return bVar1;\n}" (primitive_type "bool") (function_declarator "FUN_00338a50(long *param_1,undefined8 param_2,undefined8 *param_3)" (identifier "FUN_00338a50") (parameter_list "(long *param_1,undefined8 param_2,undefined8 *param_3)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) (, ",") (parameter_declaration "undefined8 *param_3" (type_identifier "undefined8") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  bool bVar1;\n  undefined8 local_28;\n  undefined8 local_20;\n  undefined8 local_18;\n  \n  local_20 = 0x1000000000;\n  local_28 = 0;\n  local_18 = 0;\n  (**(code **)(*param_1 + 0x30))(param_1,param_2,*param_3,&local_28);\n  bVar1 = ((uint)local_20 & 6) == 6;\n  if (bVar1) {\n    *param_3 = local_28;\n  }\n  return bVar1;\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (declaration "undefined8 local_28;" (type_identifier "undefined8") (identifier "local_28") (; ";")) (declaration "undefined8 local_20;" (type_identifier "undefined8") (identifier "local_20") (; ";")) (declaration "undefined8 local_18;" (type_identifier "undefined8") (identifier "local_18") (; ";")) (expression_statement "local_20 = 0x1000000000;" (assignment_expression "local_20 = 0x1000000000" (identifier "local_20") (= "=") (number_literal "0x1000000000")) (; ";")) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" (identifier "local_28") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_18 = 0;" (assignment_expression "local_18 = 0" (identifier "local_18") (= "=") (number_literal "0")) (; ";")) (expression_statement "(**(code **)(*param_1 + 0x30))(param_1,param_2,*param_3,&local_28);" (call_expression "(**(code **)(*param_1 + 0x30))(param_1,param_2,*param_3,&local_28)" (parenthesized_expression "(**(code **)(*param_1 + 0x30))" (( "(") (pointer_expression "**(code **)(*param_1 + 0x30)" (* "*") (pointer_expression "*(code **)(*param_1 + 0x30)" (* "*") (cast_expression "(code **)(*param_1 + 0x30)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 0x30)" (( "(") (binary_expression "*param_1 + 0x30" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x30")) () ")"))))) () ")")) (argument_list "(param_1,param_2,*param_3,&local_28)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (pointer_expression "*param_3" (* "*") (identifier "param_3")) (, ",") (pointer_expression "&local_28" (& "&") (identifier "local_28")) () ")"))) (; ";")) (expression_statement "bVar1 = ((uint)local_20 & 6) == 6;" (assignment_expression "bVar1 = ((uint)local_20 & 6) == 6" (identifier "bVar1") (= "=") (binary_expression "((uint)local_20 & 6) == 6" (parenthesized_expression "((uint)local_20 & 6)" (( "(") (binary_expression "(uint)local_20 & 6" (cast_expression "(uint)local_20" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "local_20")) (& "&") (number_literal "6")) () ")")) (== "==") (number_literal "6"))) (; ";")) (if_statement "if (bVar1) {\n    *param_3 = local_28;\n  }" (if "if") (parenthesized_expression "(bVar1)" (( "(") (identifier "bVar1") () ")")) (compound_statement "{\n    *param_3 = local_28;\n  }" ({ "{") (expression_statement "*param_3 = local_28;" (assignment_expression "*param_3 = local_28" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (identifier "local_28")) (; ";")) (} "}"))) (return_statement "return bVar1;" (return "return") (identifier "bVar1") (; ";")) (} "}")))

/* __cxxabiv1::__class_type_info::__do_upcast(__cxxabiv1::__class_type_info const*, void**) const */

bool __thiscall
__cxxabiv1::type_1::function_1
          (type_1 *this,type_1 *param_1,void **param_2)

{
  bool bVar1;
  void *local_28;
  type_2 local_20;
  type_2 local_18;
  
  local_20 = 0x1000000000;
  local_28 = (void *)0x0;
  local_18 = 0;
  (**(type_3 **)(*(long *)this + 0x30))(this,param_1,*param_2,&local_28);
  bVar1 = ((type_4)local_20 & 6) == 6;
  if (bVar1) {
    *param_2 = local_28;
  }
  return bVar1;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier) (identifier) (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))) right: (number_literal)))) (if_statement condition: (parenthesized_expression (identifier)) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))))) (return_statement (identifier)))))

bool MASKED(long *param_1,undefined8 param_2,undefined8 *param_3)

{
  bool bVar1;
  undefined8 local_28;
  undefined8 local_20;
  undefined8 local_18;
  
  local_20 = 0x1000000000;
  local_28 = 0;
  local_18 = 0;
  (**(code **)(*param_1 + 0x30))(param_1,param_2,*param_3,&local_28);
  bVar1 = ((uint)local_20 & 6) == 6;
  if (bVar1) {
    *param_3 = local_28;
  }
  return bVar1;
}

