
/* WARNING: Unknown calling convention */

int inflateStateCheck(z_streamp strm)

{
  internal_state *piVar1;
  
  piVar1 = strm->state;
  if ((piVar1 != (internal_state *)0x0) && (strm == piVar1->strm)) {
    return piVar1->status - 0x3f34U < 0x20 ^ 1;
  }
  return 1;
}



bool FUN_0001822c(int param_1)

{
  int *piVar1;
  
  piVar1 = *(int **)(param_1 + 0x1c);
  if ((piVar1 != (int *)0x0) && (param_1 == *piVar1)) {
    return 0x1f < piVar1[1] - 0x3f34U;
  }
  return true;
}


lw v0,0x1c(a0)
beq v0,zero,0x00018244
_nop
lw v1,0x0(v0)
beq a0,v1,0x0001824c
_nop
jr ra
_li v0,0x1
lw v0,0x4(v0)
addiu v0,v0,-0x3f34
sltiu v0,v0,0x20
jr ra
_xori v0,v0,0x1
(translation_unit "bool FUN_0001822c(int param_1)\n\n{\n  int *piVar1;\n  \n  piVar1 = *(int **)(param_1 + 0x1c);\n  if ((piVar1 != (int *)0x0) && (param_1 == *piVar1)) {\n    return 0x1f < piVar1[1] - 0x3f34U;\n  }\n  return true;\n}\n\n" (function_definition "bool FUN_0001822c(int param_1)\n\n{\n  int *piVar1;\n  \n  piVar1 = *(int **)(param_1 + 0x1c);\n  if ((piVar1 != (int *)0x0) && (param_1 == *piVar1)) {\n    return 0x1f < piVar1[1] - 0x3f34U;\n  }\n  return true;\n}" primitive_type (function_declarator "FUN_0001822c(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  \n  piVar1 = *(int **)(param_1 + 0x1c);\n  if ((piVar1 != (int *)0x0) && (param_1 == *piVar1)) {\n    return 0x1f < piVar1[1] - 0x3f34U;\n  }\n  return true;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (expression_statement "piVar1 = *(int **)(param_1 + 0x1c);" (assignment_expression "piVar1 = *(int **)(param_1 + 0x1c)" identifier = (pointer_expression "*(int **)(param_1 + 0x1c)" * (cast_expression "(int **)(param_1 + 0x1c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if ((piVar1 != (int *)0x0) && (param_1 == *piVar1)) {\n    return 0x1f < piVar1[1] - 0x3f34U;\n  }" if (parenthesized_expression "((piVar1 != (int *)0x0) && (param_1 == *piVar1))" ( (binary_expression "(piVar1 != (int *)0x0) && (param_1 == *piVar1)" (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(param_1 == *piVar1)" ( (binary_expression "param_1 == *piVar1" identifier == (pointer_expression "*piVar1" * identifier)) ))) )) (compound_statement "{\n    return 0x1f < piVar1[1] - 0x3f34U;\n  }" { (return_statement "return 0x1f < piVar1[1] - 0x3f34U;" return (binary_expression "0x1f < piVar1[1] - 0x3f34U" number_literal < (binary_expression "piVar1[1] - 0x3f34U" (subscript_expression "piVar1[1]" identifier [ number_literal ]) - number_literal)) ;) })) (return_statement "return true;" return true ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nint inflateStateCheck(z_streamp strm)\n\n{\n  internal_state *piVar1;\n  \n  piVar1 = strm->state;\n  if ((piVar1 != (internal_state *)0x0) && (strm == piVar1->strm)) {\n    return piVar1->status - 0x3f34U < 0x20 ^ 1;\n  }\n  return 1;\n}\n\n" comment (function_definition "int inflateStateCheck(z_streamp strm)\n\n{\n  internal_state *piVar1;\n  \n  piVar1 = strm->state;\n  if ((piVar1 != (internal_state *)0x0) && (strm == piVar1->strm)) {\n    return piVar1->status - 0x3f34U < 0x20 ^ 1;\n  }\n  return 1;\n}" primitive_type (function_declarator "inflateStateCheck(z_streamp strm)" identifier (parameter_list "(z_streamp strm)" ( (parameter_declaration "z_streamp strm" type_identifier identifier) ))) (compound_statement "{\n  internal_state *piVar1;\n  \n  piVar1 = strm->state;\n  if ((piVar1 != (internal_state *)0x0) && (strm == piVar1->strm)) {\n    return piVar1->status - 0x3f34U < 0x20 ^ 1;\n  }\n  return 1;\n}" { (declaration "internal_state *piVar1;" type_identifier (pointer_declarator "*piVar1" * identifier) ;) (expression_statement "piVar1 = strm->state;" (assignment_expression "piVar1 = strm->state" identifier = (field_expression "strm->state" identifier -> field_identifier)) ;) (if_statement "if ((piVar1 != (internal_state *)0x0) && (strm == piVar1->strm)) {\n    return piVar1->status - 0x3f34U < 0x20 ^ 1;\n  }" if (parenthesized_expression "((piVar1 != (internal_state *)0x0) && (strm == piVar1->strm))" ( (binary_expression "(piVar1 != (internal_state *)0x0) && (strm == piVar1->strm)" (parenthesized_expression "(piVar1 != (internal_state *)0x0)" ( (binary_expression "piVar1 != (internal_state *)0x0" identifier != (cast_expression "(internal_state *)0x0" ( (type_descriptor "internal_state *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(strm == piVar1->strm)" ( (binary_expression "strm == piVar1->strm" identifier == (field_expression "piVar1->strm" identifier -> field_identifier)) ))) )) (compound_statement "{\n    return piVar1->status - 0x3f34U < 0x20 ^ 1;\n  }" { (return_statement "return piVar1->status - 0x3f34U < 0x20 ^ 1;" return (binary_expression "piVar1->status - 0x3f34U < 0x20 ^ 1" (binary_expression "piVar1->status - 0x3f34U < 0x20" (binary_expression "piVar1->status - 0x3f34U" (field_expression "piVar1->status" identifier -> field_identifier) - number_literal) < number_literal) ^ number_literal) ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "bool FUN_0001822c(int param_1)\n\n{\n  int *piVar1;\n  \n  piVar1 = *(int **)(param_1 + 0x1c);\n  if ((piVar1 != (int *)0x0) && (param_1 == *piVar1)) {\n    return 0x1f < piVar1[1] - 0x3f34U;\n  }\n  return true;\n}\n\n" (function_definition "bool FUN_0001822c(int param_1)\n\n{\n  int *piVar1;\n  \n  piVar1 = *(int **)(param_1 + 0x1c);\n  if ((piVar1 != (int *)0x0) && (param_1 == *piVar1)) {\n    return 0x1f < piVar1[1] - 0x3f34U;\n  }\n  return true;\n}" primitive_type (function_declarator "FUN_0001822c(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  \n  piVar1 = *(int **)(param_1 + 0x1c);\n  if ((piVar1 != (int *)0x0) && (param_1 == *piVar1)) {\n    return 0x1f < piVar1[1] - 0x3f34U;\n  }\n  return true;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (expression_statement "piVar1 = *(int **)(param_1 + 0x1c);" (assignment_expression "piVar1 = *(int **)(param_1 + 0x1c)" identifier = (pointer_expression "*(int **)(param_1 + 0x1c)" * (cast_expression "(int **)(param_1 + 0x1c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if ((piVar1 != (int *)0x0) && (param_1 == *piVar1)) {\n    return 0x1f < piVar1[1] - 0x3f34U;\n  }" if (parenthesized_expression "((piVar1 != (int *)0x0) && (param_1 == *piVar1))" ( (binary_expression "(piVar1 != (int *)0x0) && (param_1 == *piVar1)" (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(param_1 == *piVar1)" ( (binary_expression "param_1 == *piVar1" identifier == (pointer_expression "*piVar1" * identifier)) ))) )) (compound_statement "{\n    return 0x1f < piVar1[1] - 0x3f34U;\n  }" { (return_statement "return 0x1f < piVar1[1] - 0x3f34U;" return (binary_expression "0x1f < piVar1[1] - 0x3f34U" number_literal < (binary_expression "piVar1[1] - 0x3f34U" (subscript_expression "piVar1[1]" identifier [ number_literal ]) - number_literal)) ;) })) (return_statement "return true;" return true ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * IDENT)) ))) )) (compound_statement { (return_statement return (binary_expression LIT < (binary_expression (subscript_expression IDENT [ LIT ]) - LIT)) ;) })) (return_statement return BOOL ;) })))
(function_definition "bool FUN_0001822c(int param_1)\n\n{\n  int *piVar1;\n  \n  piVar1 = *(int **)(param_1 + 0x1c);\n  if ((piVar1 != (int *)0x0) && (param_1 == *piVar1)) {\n    return 0x1f < piVar1[1] - 0x3f34U;\n  }\n  return true;\n}" (primitive_type "bool") (function_declarator "FUN_0001822c(int param_1)" (identifier "FUN_0001822c") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int *piVar1;\n  \n  piVar1 = *(int **)(param_1 + 0x1c);\n  if ((piVar1 != (int *)0x0) && (param_1 == *piVar1)) {\n    return 0x1f < piVar1[1] - 0x3f34U;\n  }\n  return true;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (expression_statement "piVar1 = *(int **)(param_1 + 0x1c);" (assignment_expression "piVar1 = *(int **)(param_1 + 0x1c)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)(param_1 + 0x1c)" (* "*") (cast_expression "(int **)(param_1 + 0x1c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (if_statement "if ((piVar1 != (int *)0x0) && (param_1 == *piVar1)) {\n    return 0x1f < piVar1[1] - 0x3f34U;\n  }" (if "if") (parenthesized_expression "((piVar1 != (int *)0x0) && (param_1 == *piVar1))" (( "(") (binary_expression "(piVar1 != (int *)0x0) && (param_1 == *piVar1)" (parenthesized_expression "(piVar1 != (int *)0x0)" (( "(") (binary_expression "piVar1 != (int *)0x0" (identifier "piVar1") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(param_1 == *piVar1)" (( "(") (binary_expression "param_1 == *piVar1" (identifier "param_1") (== "==") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))) () ")"))) () ")")) (compound_statement "{\n    return 0x1f < piVar1[1] - 0x3f34U;\n  }" ({ "{") (return_statement "return 0x1f < piVar1[1] - 0x3f34U;" (return "return") (binary_expression "0x1f < piVar1[1] - 0x3f34U" (number_literal "0x1f") (< "<") (binary_expression "piVar1[1] - 0x3f34U" (subscript_expression "piVar1[1]" (identifier "piVar1") ([ "[") (number_literal "1") (] "]")) (- "-") (number_literal "0x3f34U"))) (; ";")) (} "}"))) (return_statement "return true;" (return "return") (true "true") (; ";")) (} "}")))
(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 (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (identifier)))))) consequence: (compound_statement (return_statement (binary_expression left: (number_literal) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))))) (return_statement (true)))))

bool MASKED(int param_1)

{
  int *piVar1;
  
  piVar1 = *(int **)(param_1 + 0x1c);
  if ((piVar1 != (int *)0x0) && (param_1 == *piVar1)) {
    return 0x1f < piVar1[1] - 0x3f34U;
  }
  return true;
}

