
/* WARNING: Unknown calling convention */

_Bool cycle_warning_required(FTS *fts,FTSENT *ent)

{
  uint uVar1;
  
  uVar1 = fts->fts_options & 0x11;
  if (uVar1 == 0x10) {
    return true;
  }
  if (uVar1 != 0x11) {
    return false;
  }
  return ent->fts_level != 0;
}



bool cycle_warning_required(int param_1,int param_2)

{
  uint uVar1;
  
  uVar1 = *(uint *)(param_1 + 0x30) & 0x11;
  if (uVar1 == 0x10) {
    return true;
  }
  if (uVar1 != 0x11) {
    return false;
  }
  return *(int *)(param_2 + 0x30) != 0;
}


lw v0,0x30(a0)
li v1,0x10
andi v0,v0,0x11
beq v0,v1,0x0001f964
_li v1,0x11
beq v0,v1,0x0001f958
_nop
jr ra
_or v0,zero,zero
lw v0,0x30(a1)
jr ra
_sltu v0,zero,v0
jr ra
_li v0,0x1
(translation_unit "bool cycle_warning_required(int param_1,int param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_1 + 0x30) & 0x11;\n  if (uVar1 == 0x10) {\n    return true;\n  }\n  if (uVar1 != 0x11) {\n    return false;\n  }\n  return *(int *)(param_2 + 0x30) != 0;\n}\n\n" (function_definition "bool cycle_warning_required(int param_1,int param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_1 + 0x30) & 0x11;\n  if (uVar1 == 0x10) {\n    return true;\n  }\n  if (uVar1 != 0x11) {\n    return false;\n  }\n  return *(int *)(param_2 + 0x30) != 0;\n}" primitive_type (function_declarator "cycle_warning_required(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_1 + 0x30) & 0x11;\n  if (uVar1 == 0x10) {\n    return true;\n  }\n  if (uVar1 != 0x11) {\n    return false;\n  }\n  return *(int *)(param_2 + 0x30) != 0;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = *(uint *)(param_1 + 0x30) & 0x11;" (assignment_expression "uVar1 = *(uint *)(param_1 + 0x30) & 0x11" identifier = (binary_expression "*(uint *)(param_1 + 0x30) & 0x11" (pointer_expression "*(uint *)(param_1 + 0x30)" * (cast_expression "(uint *)(param_1 + 0x30)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) & number_literal)) ;) (if_statement "if (uVar1 == 0x10) {\n    return true;\n  }" if (parenthesized_expression "(uVar1 == 0x10)" ( (binary_expression "uVar1 == 0x10" identifier == number_literal) )) (compound_statement "{\n    return true;\n  }" { (return_statement "return true;" return true ;) })) (if_statement "if (uVar1 != 0x11) {\n    return false;\n  }" if (parenthesized_expression "(uVar1 != 0x11)" ( (binary_expression "uVar1 != 0x11" identifier != number_literal) )) (compound_statement "{\n    return false;\n  }" { (return_statement "return false;" return false ;) })) (return_statement "return *(int *)(param_2 + 0x30) != 0;" return (binary_expression "*(int *)(param_2 + 0x30) != 0" (pointer_expression "*(int *)(param_2 + 0x30)" * (cast_expression "(int *)(param_2 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x30)" ( (binary_expression "param_2 + 0x30" identifier + number_literal) )))) != number_literal) ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\n_Bool cycle_warning_required(FTS *fts,FTSENT *ent)\n\n{\n  uint uVar1;\n  \n  uVar1 = fts->fts_options & 0x11;\n  if (uVar1 == 0x10) {\n    return true;\n  }\n  if (uVar1 != 0x11) {\n    return false;\n  }\n  return ent->fts_level != 0;\n}\n\n" comment (function_definition "_Bool cycle_warning_required(FTS *fts,FTSENT *ent)\n\n{\n  uint uVar1;\n  \n  uVar1 = fts->fts_options & 0x11;\n  if (uVar1 == 0x10) {\n    return true;\n  }\n  if (uVar1 != 0x11) {\n    return false;\n  }\n  return ent->fts_level != 0;\n}" type_identifier (function_declarator "cycle_warning_required(FTS *fts,FTSENT *ent)" identifier (parameter_list "(FTS *fts,FTSENT *ent)" ( (parameter_declaration "FTS *fts" type_identifier (pointer_declarator "*fts" * identifier)) , (parameter_declaration "FTSENT *ent" type_identifier (pointer_declarator "*ent" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = fts->fts_options & 0x11;\n  if (uVar1 == 0x10) {\n    return true;\n  }\n  if (uVar1 != 0x11) {\n    return false;\n  }\n  return ent->fts_level != 0;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = fts->fts_options & 0x11;" (assignment_expression "uVar1 = fts->fts_options & 0x11" identifier = (binary_expression "fts->fts_options & 0x11" (field_expression "fts->fts_options" identifier -> field_identifier) & number_literal)) ;) (if_statement "if (uVar1 == 0x10) {\n    return true;\n  }" if (parenthesized_expression "(uVar1 == 0x10)" ( (binary_expression "uVar1 == 0x10" identifier == number_literal) )) (compound_statement "{\n    return true;\n  }" { (return_statement "return true;" return true ;) })) (if_statement "if (uVar1 != 0x11) {\n    return false;\n  }" if (parenthesized_expression "(uVar1 != 0x11)" ( (binary_expression "uVar1 != 0x11" identifier != number_literal) )) (compound_statement "{\n    return false;\n  }" { (return_statement "return false;" return false ;) })) (return_statement "return ent->fts_level != 0;" return (binary_expression "ent->fts_level != 0" (field_expression "ent->fts_level" identifier -> field_identifier) != number_literal) ;) })))
(translation_unit "bool cycle_warning_required(int param_1,int param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_1 + 0x30) & 0x11;\n  if (uVar1 == 0x10) {\n    return true;\n  }\n  if (uVar1 != 0x11) {\n    return false;\n  }\n  return *(int *)(param_2 + 0x30) != 0;\n}\n\n" (function_definition "bool cycle_warning_required(int param_1,int param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_1 + 0x30) & 0x11;\n  if (uVar1 == 0x10) {\n    return true;\n  }\n  if (uVar1 != 0x11) {\n    return false;\n  }\n  return *(int *)(param_2 + 0x30) != 0;\n}" primitive_type (function_declarator "cycle_warning_required(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_1 + 0x30) & 0x11;\n  if (uVar1 == 0x10) {\n    return true;\n  }\n  if (uVar1 != 0x11) {\n    return false;\n  }\n  return *(int *)(param_2 + 0x30) != 0;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = *(uint *)(param_1 + 0x30) & 0x11;" (assignment_expression "uVar1 = *(uint *)(param_1 + 0x30) & 0x11" identifier = (binary_expression "*(uint *)(param_1 + 0x30) & 0x11" (pointer_expression "*(uint *)(param_1 + 0x30)" * (cast_expression "(uint *)(param_1 + 0x30)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) & number_literal)) ;) (if_statement "if (uVar1 == 0x10) {\n    return true;\n  }" if (parenthesized_expression "(uVar1 == 0x10)" ( (binary_expression "uVar1 == 0x10" identifier == number_literal) )) (compound_statement "{\n    return true;\n  }" { (return_statement "return true;" return true ;) })) (if_statement "if (uVar1 != 0x11) {\n    return false;\n  }" if (parenthesized_expression "(uVar1 != 0x11)" ( (binary_expression "uVar1 != 0x11" identifier != number_literal) )) (compound_statement "{\n    return false;\n  }" { (return_statement "return false;" return false ;) })) (return_statement "return *(int *)(param_2 + 0x30) != 0;" return (binary_expression "*(int *)(param_2 + 0x30) != 0" (pointer_expression "*(int *)(param_2 + 0x30)" * (cast_expression "(int *)(param_2 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x30)" ( (binary_expression "param_2 + 0x30" identifier + number_literal) )))) != number_literal) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return BOOL ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return BOOL ;) })) (return_statement return (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ;) })))
(function_definition "bool cycle_warning_required(int param_1,int param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_1 + 0x30) & 0x11;\n  if (uVar1 == 0x10) {\n    return true;\n  }\n  if (uVar1 != 0x11) {\n    return false;\n  }\n  return *(int *)(param_2 + 0x30) != 0;\n}" (primitive_type "bool") (function_declarator "cycle_warning_required(int param_1,int param_2)" (identifier "cycle_warning_required") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_1 + 0x30) & 0x11;\n  if (uVar1 == 0x10) {\n    return true;\n  }\n  if (uVar1 != 0x11) {\n    return false;\n  }\n  return *(int *)(param_2 + 0x30) != 0;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = *(uint *)(param_1 + 0x30) & 0x11;" (assignment_expression "uVar1 = *(uint *)(param_1 + 0x30) & 0x11" (identifier "uVar1") (= "=") (binary_expression "*(uint *)(param_1 + 0x30) & 0x11" (pointer_expression "*(uint *)(param_1 + 0x30)" (* "*") (cast_expression "(uint *)(param_1 + 0x30)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")")))) (& "&") (number_literal "0x11"))) (; ";")) (if_statement "if (uVar1 == 0x10) {\n    return true;\n  }" (if "if") (parenthesized_expression "(uVar1 == 0x10)" (( "(") (binary_expression "uVar1 == 0x10" (identifier "uVar1") (== "==") (number_literal "0x10")) () ")")) (compound_statement "{\n    return true;\n  }" ({ "{") (return_statement "return true;" (return "return") (true "true") (; ";")) (} "}"))) (if_statement "if (uVar1 != 0x11) {\n    return false;\n  }" (if "if") (parenthesized_expression "(uVar1 != 0x11)" (( "(") (binary_expression "uVar1 != 0x11" (identifier "uVar1") (!= "!=") (number_literal "0x11")) () ")")) (compound_statement "{\n    return false;\n  }" ({ "{") (return_statement "return false;" (return "return") (false "false") (; ";")) (} "}"))) (return_statement "return *(int *)(param_2 + 0x30) != 0;" (return "return") (binary_expression "*(int *)(param_2 + 0x30) != 0" (pointer_expression "*(int *)(param_2 + 0x30)" (* "*") (cast_expression "(int *)(param_2 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x30)" (( "(") (binary_expression "param_2 + 0x30" (identifier "param_2") (+ "+") (number_literal "0x30")) () ")")))) (!= "!=") (number_literal "0")) (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (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)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (true)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (false)))) (return_statement (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))))

bool MASKED(int param_1,int param_2)

{
  uint uVar1;
  
  uVar1 = *(uint *)(param_1 + 0x30) & 0x11;
  if (uVar1 == 0x10) {
    return true;
  }
  if (uVar1 != 0x11) {
    return false;
  }
  return *(int *)(param_2 + 0x30) != 0;
}

