
bfd_boolean is_size_valid(mips_opcode *mo)

{
  int iVar1;
  
  if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) != 0) {
    if ((*(int *)(PTR_DAT_000b5ca8 + 0x53d0) != 0) &&
       (((mo->pinfo != 0xffffffff && (*(short *)&mo->mask == 0)) || ((mo->pinfo2 & 0x20) != 0)))) {
      return 0;
    }
    if (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) != 0) {
      if (mo->pinfo != 0xffffffff) {
        iVar1 = 2;
        if (*(short *)&mo->mask != 0) {
          iVar1 = 4;
        }
        return (uint)(*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1);
      }
      return 0;
    }
  }
  return 1;
}



bool FUN_0005cf58(int param_1)

{
  int iVar1;
  
  if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) != 0) {
    if ((*(int *)(PTR_DAT_000b5ca8 + 0x53d0) != 0) &&
       (((*(int *)(param_1 + 0x10) != -1 && (*(short *)(param_1 + 0xc) == 0)) ||
        ((*(uint *)(param_1 + 0x14) & 0x20) != 0)))) {
      return false;
    }
    if (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) != 0) {
      if (*(int *)(param_1 + 0x10) != -1) {
        iVar1 = 2;
        if (*(short *)(param_1 + 0xc) != 0) {
          iVar1 = 4;
        }
        return *(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1;
      }
      return false;
    }
  }
  return true;
}


lui gp,0x6
addiu gp,gp,0xd28
addu gp,gp,t9
lw v0,-0x7fd8(gp)
addiu v0,v0,0x53a8
lw v1,0xc(v0)
beq v1,zero,0x0005cfc0
_nop
lw v0,0x28(v0)
bne v0,zero,0x0005cfc8
_li v0,-0x1
lw v0,-0x7fb0(gp)
lw v0,-0xb98(v0)
beq v0,zero,0x0005cfc0
_nop
lw a1,0x10(a0)
li v1,-0x1
beq a1,v1,0x0005cff8
_nop
lhu v1,0xc(a0)
li a1,0x4
li a0,0x2
movn a0,a1,v1
xor v0,v0,a0
jr ra
_sltiu v0,v0,0x1
jr ra
_li v0,0x1
lw v1,0x10(a0)
beq v1,v0,0x0005cfe0
_nop
lhu v0,0xc(a0)
beq v0,zero,0x0005cff0
_nop
lw v0,0x14(a0)
andi v0,v0,0x20
beq v0,zero,0x0005cf84
_nop
jr ra
_or v0,zero,zero
jr ra
_or v0,zero,zero
(translation_unit "bool FUN_0005cf58(int param_1)\n\n{\n  int iVar1;\n  \n  if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) != 0) {\n    if ((*(int *)(PTR_DAT_000b5ca8 + 0x53d0) != 0) &&\n       (((*(int *)(param_1 + 0x10) != -1 && (*(short *)(param_1 + 0xc) == 0)) ||\n        ((*(uint *)(param_1 + 0x14) & 0x20) != 0)))) {\n      return false;\n    }\n    if (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) != 0) {\n      if (*(int *)(param_1 + 0x10) != -1) {\n        iVar1 = 2;\n        if (*(short *)(param_1 + 0xc) != 0) {\n          iVar1 = 4;\n        }\n        return *(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1;\n      }\n      return false;\n    }\n  }\n  return true;\n}\n\n" (function_definition "bool FUN_0005cf58(int param_1)\n\n{\n  int iVar1;\n  \n  if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) != 0) {\n    if ((*(int *)(PTR_DAT_000b5ca8 + 0x53d0) != 0) &&\n       (((*(int *)(param_1 + 0x10) != -1 && (*(short *)(param_1 + 0xc) == 0)) ||\n        ((*(uint *)(param_1 + 0x14) & 0x20) != 0)))) {\n      return false;\n    }\n    if (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) != 0) {\n      if (*(int *)(param_1 + 0x10) != -1) {\n        iVar1 = 2;\n        if (*(short *)(param_1 + 0xc) != 0) {\n          iVar1 = 4;\n        }\n        return *(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1;\n      }\n      return false;\n    }\n  }\n  return true;\n}" primitive_type (function_declarator "FUN_0005cf58(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) != 0) {\n    if ((*(int *)(PTR_DAT_000b5ca8 + 0x53d0) != 0) &&\n       (((*(int *)(param_1 + 0x10) != -1 && (*(short *)(param_1 + 0xc) == 0)) ||\n        ((*(uint *)(param_1 + 0x14) & 0x20) != 0)))) {\n      return false;\n    }\n    if (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) != 0) {\n      if (*(int *)(param_1 + 0x10) != -1) {\n        iVar1 = 2;\n        if (*(short *)(param_1 + 0xc) != 0) {\n          iVar1 = 4;\n        }\n        return *(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1;\n      }\n      return false;\n    }\n  }\n  return true;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) != 0) {\n    if ((*(int *)(PTR_DAT_000b5ca8 + 0x53d0) != 0) &&\n       (((*(int *)(param_1 + 0x10) != -1 && (*(short *)(param_1 + 0xc) == 0)) ||\n        ((*(uint *)(param_1 + 0x14) & 0x20) != 0)))) {\n      return false;\n    }\n    if (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) != 0) {\n      if (*(int *)(param_1 + 0x10) != -1) {\n        iVar1 = 2;\n        if (*(short *)(param_1 + 0xc) != 0) {\n          iVar1 = 4;\n        }\n        return *(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1;\n      }\n      return false;\n    }\n  }" if (parenthesized_expression "(*(int *)(PTR_DAT_000b5ca8 + 0x53b4) != 0)" ( (binary_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53b4) != 0" (pointer_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53b4)" * (cast_expression "(int *)(PTR_DAT_000b5ca8 + 0x53b4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000b5ca8 + 0x53b4)" ( (binary_expression "PTR_DAT_000b5ca8 + 0x53b4" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    if ((*(int *)(PTR_DAT_000b5ca8 + 0x53d0) != 0) &&\n       (((*(int *)(param_1 + 0x10) != -1 && (*(short *)(param_1 + 0xc) == 0)) ||\n        ((*(uint *)(param_1 + 0x14) & 0x20) != 0)))) {\n      return false;\n    }\n    if (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) != 0) {\n      if (*(int *)(param_1 + 0x10) != -1) {\n        iVar1 = 2;\n        if (*(short *)(param_1 + 0xc) != 0) {\n          iVar1 = 4;\n        }\n        return *(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1;\n      }\n      return false;\n    }\n  }" { (if_statement "if ((*(int *)(PTR_DAT_000b5ca8 + 0x53d0) != 0) &&\n       (((*(int *)(param_1 + 0x10) != -1 && (*(short *)(param_1 + 0xc) == 0)) ||\n        ((*(uint *)(param_1 + 0x14) & 0x20) != 0)))) {\n      return false;\n    }" if (parenthesized_expression "((*(int *)(PTR_DAT_000b5ca8 + 0x53d0) != 0) &&\n       (((*(int *)(param_1 + 0x10) != -1 && (*(short *)(param_1 + 0xc) == 0)) ||\n        ((*(uint *)(param_1 + 0x14) & 0x20) != 0))))" ( (binary_expression "(*(int *)(PTR_DAT_000b5ca8 + 0x53d0) != 0) &&\n       (((*(int *)(param_1 + 0x10) != -1 && (*(short *)(param_1 + 0xc) == 0)) ||\n        ((*(uint *)(param_1 + 0x14) & 0x20) != 0)))" (parenthesized_expression "(*(int *)(PTR_DAT_000b5ca8 + 0x53d0) != 0)" ( (binary_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53d0) != 0" (pointer_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53d0)" * (cast_expression "(int *)(PTR_DAT_000b5ca8 + 0x53d0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000b5ca8 + 0x53d0)" ( (binary_expression "PTR_DAT_000b5ca8 + 0x53d0" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(((*(int *)(param_1 + 0x10) != -1 && (*(short *)(param_1 + 0xc) == 0)) ||\n        ((*(uint *)(param_1 + 0x14) & 0x20) != 0)))" ( (parenthesized_expression "((*(int *)(param_1 + 0x10) != -1 && (*(short *)(param_1 + 0xc) == 0)) ||\n        ((*(uint *)(param_1 + 0x14) & 0x20) != 0))" ( (binary_expression "(*(int *)(param_1 + 0x10) != -1 && (*(short *)(param_1 + 0xc) == 0)) ||\n        ((*(uint *)(param_1 + 0x14) & 0x20) != 0)" (parenthesized_expression "(*(int *)(param_1 + 0x10) != -1 && (*(short *)(param_1 + 0xc) == 0))" ( (binary_expression "*(int *)(param_1 + 0x10) != -1 && (*(short *)(param_1 + 0xc) == 0)" (binary_expression "*(int *)(param_1 + 0x10) != -1" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) != number_literal) && (parenthesized_expression "(*(short *)(param_1 + 0xc) == 0)" ( (binary_expression "*(short *)(param_1 + 0xc) == 0" (pointer_expression "*(short *)(param_1 + 0xc)" * (cast_expression "(short *)(param_1 + 0xc)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) == number_literal) ))) )) || (parenthesized_expression "((*(uint *)(param_1 + 0x14) & 0x20) != 0)" ( (binary_expression "(*(uint *)(param_1 + 0x14) & 0x20) != 0" (parenthesized_expression "(*(uint *)(param_1 + 0x14) & 0x20)" ( (binary_expression "*(uint *)(param_1 + 0x14) & 0x20" (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) )) != number_literal) ))) )) ))) )) (compound_statement "{\n      return false;\n    }" { (return_statement "return false;" return false ;) })) (if_statement "if (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) != 0) {\n      if (*(int *)(param_1 + 0x10) != -1) {\n        iVar1 = 2;\n        if (*(short *)(param_1 + 0xc) != 0) {\n          iVar1 = 4;\n        }\n        return *(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1;\n      }\n      return false;\n    }" if (parenthesized_expression "(*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) != 0)" ( (binary_expression "*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) != 0" (pointer_expression "*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98)" * (cast_expression "(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_mips_opcodes_000b5cd0 + -0xb98)" ( (binary_expression "PTR_mips_opcodes_000b5cd0 + -0xb98" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      if (*(int *)(param_1 + 0x10) != -1) {\n        iVar1 = 2;\n        if (*(short *)(param_1 + 0xc) != 0) {\n          iVar1 = 4;\n        }\n        return *(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1;\n      }\n      return false;\n    }" { (if_statement "if (*(int *)(param_1 + 0x10) != -1) {\n        iVar1 = 2;\n        if (*(short *)(param_1 + 0xc) != 0) {\n          iVar1 = 4;\n        }\n        return *(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1;\n      }" if (parenthesized_expression "(*(int *)(param_1 + 0x10) != -1)" ( (binary_expression "*(int *)(param_1 + 0x10) != -1" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        iVar1 = 2;\n        if (*(short *)(param_1 + 0xc) != 0) {\n          iVar1 = 4;\n        }\n        return *(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1;\n      }" { (expression_statement "iVar1 = 2;" (assignment_expression "iVar1 = 2" identifier = number_literal) ;) (if_statement "if (*(short *)(param_1 + 0xc) != 0) {\n          iVar1 = 4;\n        }" if (parenthesized_expression "(*(short *)(param_1 + 0xc) != 0)" ( (binary_expression "*(short *)(param_1 + 0xc) != 0" (pointer_expression "*(short *)(param_1 + 0xc)" * (cast_expression "(short *)(param_1 + 0xc)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n          iVar1 = 4;\n        }" { (expression_statement "iVar1 = 4;" (assignment_expression "iVar1 = 4" identifier = number_literal) ;) })) (return_statement "return *(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1;" return (binary_expression "*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1" (pointer_expression "*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98)" * (cast_expression "(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_mips_opcodes_000b5cd0 + -0xb98)" ( (binary_expression "PTR_mips_opcodes_000b5cd0 + -0xb98" identifier + number_literal) )))) == identifier) ;) })) (return_statement "return false;" return false ;) })) })) (return_statement "return true;" return true ;) })))
(translation_unit "bfd_boolean is_size_valid(mips_opcode *mo)\n\n{\n  int iVar1;\n  \n  if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) != 0) {\n    if ((*(int *)(PTR_DAT_000b5ca8 + 0x53d0) != 0) &&\n       (((mo->pinfo != 0xffffffff && (*(short *)&mo->mask == 0)) || ((mo->pinfo2 & 0x20) != 0)))) {\n      return 0;\n    }\n    if (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) != 0) {\n      if (mo->pinfo != 0xffffffff) {\n        iVar1 = 2;\n        if (*(short *)&mo->mask != 0) {\n          iVar1 = 4;\n        }\n        return (uint)(*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1);\n      }\n      return 0;\n    }\n  }\n  return 1;\n}\n\n" (function_definition "bfd_boolean is_size_valid(mips_opcode *mo)\n\n{\n  int iVar1;\n  \n  if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) != 0) {\n    if ((*(int *)(PTR_DAT_000b5ca8 + 0x53d0) != 0) &&\n       (((mo->pinfo != 0xffffffff && (*(short *)&mo->mask == 0)) || ((mo->pinfo2 & 0x20) != 0)))) {\n      return 0;\n    }\n    if (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) != 0) {\n      if (mo->pinfo != 0xffffffff) {\n        iVar1 = 2;\n        if (*(short *)&mo->mask != 0) {\n          iVar1 = 4;\n        }\n        return (uint)(*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1);\n      }\n      return 0;\n    }\n  }\n  return 1;\n}" type_identifier (function_declarator "is_size_valid(mips_opcode *mo)" identifier (parameter_list "(mips_opcode *mo)" ( (parameter_declaration "mips_opcode *mo" type_identifier (pointer_declarator "*mo" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) != 0) {\n    if ((*(int *)(PTR_DAT_000b5ca8 + 0x53d0) != 0) &&\n       (((mo->pinfo != 0xffffffff && (*(short *)&mo->mask == 0)) || ((mo->pinfo2 & 0x20) != 0)))) {\n      return 0;\n    }\n    if (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) != 0) {\n      if (mo->pinfo != 0xffffffff) {\n        iVar1 = 2;\n        if (*(short *)&mo->mask != 0) {\n          iVar1 = 4;\n        }\n        return (uint)(*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1);\n      }\n      return 0;\n    }\n  }\n  return 1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) != 0) {\n    if ((*(int *)(PTR_DAT_000b5ca8 + 0x53d0) != 0) &&\n       (((mo->pinfo != 0xffffffff && (*(short *)&mo->mask == 0)) || ((mo->pinfo2 & 0x20) != 0)))) {\n      return 0;\n    }\n    if (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) != 0) {\n      if (mo->pinfo != 0xffffffff) {\n        iVar1 = 2;\n        if (*(short *)&mo->mask != 0) {\n          iVar1 = 4;\n        }\n        return (uint)(*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1);\n      }\n      return 0;\n    }\n  }" if (parenthesized_expression "(*(int *)(PTR_DAT_000b5ca8 + 0x53b4) != 0)" ( (binary_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53b4) != 0" (pointer_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53b4)" * (cast_expression "(int *)(PTR_DAT_000b5ca8 + 0x53b4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000b5ca8 + 0x53b4)" ( (binary_expression "PTR_DAT_000b5ca8 + 0x53b4" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    if ((*(int *)(PTR_DAT_000b5ca8 + 0x53d0) != 0) &&\n       (((mo->pinfo != 0xffffffff && (*(short *)&mo->mask == 0)) || ((mo->pinfo2 & 0x20) != 0)))) {\n      return 0;\n    }\n    if (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) != 0) {\n      if (mo->pinfo != 0xffffffff) {\n        iVar1 = 2;\n        if (*(short *)&mo->mask != 0) {\n          iVar1 = 4;\n        }\n        return (uint)(*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1);\n      }\n      return 0;\n    }\n  }" { (if_statement "if ((*(int *)(PTR_DAT_000b5ca8 + 0x53d0) != 0) &&\n       (((mo->pinfo != 0xffffffff && (*(short *)&mo->mask == 0)) || ((mo->pinfo2 & 0x20) != 0)))) {\n      return 0;\n    }" if (parenthesized_expression "((*(int *)(PTR_DAT_000b5ca8 + 0x53d0) != 0) &&\n       (((mo->pinfo != 0xffffffff && (*(short *)&mo->mask == 0)) || ((mo->pinfo2 & 0x20) != 0))))" ( (binary_expression "(*(int *)(PTR_DAT_000b5ca8 + 0x53d0) != 0) &&\n       (((mo->pinfo != 0xffffffff && (*(short *)&mo->mask == 0)) || ((mo->pinfo2 & 0x20) != 0)))" (parenthesized_expression "(*(int *)(PTR_DAT_000b5ca8 + 0x53d0) != 0)" ( (binary_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53d0) != 0" (pointer_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53d0)" * (cast_expression "(int *)(PTR_DAT_000b5ca8 + 0x53d0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000b5ca8 + 0x53d0)" ( (binary_expression "PTR_DAT_000b5ca8 + 0x53d0" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(((mo->pinfo != 0xffffffff && (*(short *)&mo->mask == 0)) || ((mo->pinfo2 & 0x20) != 0)))" ( (parenthesized_expression "((mo->pinfo != 0xffffffff && (*(short *)&mo->mask == 0)) || ((mo->pinfo2 & 0x20) != 0))" ( (binary_expression "(mo->pinfo != 0xffffffff && (*(short *)&mo->mask == 0)) || ((mo->pinfo2 & 0x20) != 0)" (parenthesized_expression "(mo->pinfo != 0xffffffff && (*(short *)&mo->mask == 0))" ( (binary_expression "mo->pinfo != 0xffffffff && (*(short *)&mo->mask == 0)" (binary_expression "mo->pinfo != 0xffffffff" (field_expression "mo->pinfo" identifier -> field_identifier) != number_literal) && (parenthesized_expression "(*(short *)&mo->mask == 0)" ( (binary_expression "*(short *)&mo->mask == 0" (pointer_expression "*(short *)&mo->mask" * (cast_expression "(short *)&mo->mask" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (pointer_expression "&mo->mask" & (field_expression "mo->mask" identifier -> field_identifier)))) == number_literal) ))) )) || (parenthesized_expression "((mo->pinfo2 & 0x20) != 0)" ( (binary_expression "(mo->pinfo2 & 0x20) != 0" (parenthesized_expression "(mo->pinfo2 & 0x20)" ( (binary_expression "mo->pinfo2 & 0x20" (field_expression "mo->pinfo2" identifier -> field_identifier) & number_literal) )) != number_literal) ))) )) ))) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) != 0) {\n      if (mo->pinfo != 0xffffffff) {\n        iVar1 = 2;\n        if (*(short *)&mo->mask != 0) {\n          iVar1 = 4;\n        }\n        return (uint)(*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1);\n      }\n      return 0;\n    }" if (parenthesized_expression "(*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) != 0)" ( (binary_expression "*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) != 0" (pointer_expression "*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98)" * (cast_expression "(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_mips_opcodes_000b5cd0 + -0xb98)" ( (binary_expression "PTR_mips_opcodes_000b5cd0 + -0xb98" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      if (mo->pinfo != 0xffffffff) {\n        iVar1 = 2;\n        if (*(short *)&mo->mask != 0) {\n          iVar1 = 4;\n        }\n        return (uint)(*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1);\n      }\n      return 0;\n    }" { (if_statement "if (mo->pinfo != 0xffffffff) {\n        iVar1 = 2;\n        if (*(short *)&mo->mask != 0) {\n          iVar1 = 4;\n        }\n        return (uint)(*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1);\n      }" if (parenthesized_expression "(mo->pinfo != 0xffffffff)" ( (binary_expression "mo->pinfo != 0xffffffff" (field_expression "mo->pinfo" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n        iVar1 = 2;\n        if (*(short *)&mo->mask != 0) {\n          iVar1 = 4;\n        }\n        return (uint)(*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1);\n      }" { (expression_statement "iVar1 = 2;" (assignment_expression "iVar1 = 2" identifier = number_literal) ;) (if_statement "if (*(short *)&mo->mask != 0) {\n          iVar1 = 4;\n        }" if (parenthesized_expression "(*(short *)&mo->mask != 0)" ( (binary_expression "*(short *)&mo->mask != 0" (pointer_expression "*(short *)&mo->mask" * (cast_expression "(short *)&mo->mask" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (pointer_expression "&mo->mask" & (field_expression "mo->mask" identifier -> field_identifier)))) != number_literal) )) (compound_statement "{\n          iVar1 = 4;\n        }" { (expression_statement "iVar1 = 4;" (assignment_expression "iVar1 = 4" identifier = number_literal) ;) })) (return_statement "return (uint)(*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1);" return (call_expression "(uint)(*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1)" ( (binary_expression "*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1" (pointer_expression "*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98)" * (cast_expression "(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_mips_opcodes_000b5cd0 + -0xb98)" ( (binary_expression "PTR_mips_opcodes_000b5cd0 + -0xb98" identifier + number_literal) )))) == identifier) ))) ;) })) (return_statement "return 0;" return number_literal ;) })) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "bool FUN_0005cf58(int param_1)\n\n{\n  int iVar1;\n  \n  if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) != 0) {\n    if ((*(int *)(PTR_DAT_000b5ca8 + 0x53d0) != 0) &&\n       (((*(int *)(param_1 + 0x10) != -1 && (*(short *)(param_1 + 0xc) == 0)) ||\n        ((*(uint *)(param_1 + 0x14) & 0x20) != 0)))) {\n      return false;\n    }\n    if (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) != 0) {\n      if (*(int *)(param_1 + 0x10) != -1) {\n        iVar1 = 2;\n        if (*(short *)(param_1 + 0xc) != 0) {\n          iVar1 = 4;\n        }\n        return *(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1;\n      }\n      return false;\n    }\n  }\n  return true;\n}\n\n" (function_definition "bool FUN_0005cf58(int param_1)\n\n{\n  int iVar1;\n  \n  if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) != 0) {\n    if ((*(int *)(PTR_DAT_000b5ca8 + 0x53d0) != 0) &&\n       (((*(int *)(param_1 + 0x10) != -1 && (*(short *)(param_1 + 0xc) == 0)) ||\n        ((*(uint *)(param_1 + 0x14) & 0x20) != 0)))) {\n      return false;\n    }\n    if (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) != 0) {\n      if (*(int *)(param_1 + 0x10) != -1) {\n        iVar1 = 2;\n        if (*(short *)(param_1 + 0xc) != 0) {\n          iVar1 = 4;\n        }\n        return *(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1;\n      }\n      return false;\n    }\n  }\n  return true;\n}" primitive_type (function_declarator "FUN_0005cf58(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) != 0) {\n    if ((*(int *)(PTR_DAT_000b5ca8 + 0x53d0) != 0) &&\n       (((*(int *)(param_1 + 0x10) != -1 && (*(short *)(param_1 + 0xc) == 0)) ||\n        ((*(uint *)(param_1 + 0x14) & 0x20) != 0)))) {\n      return false;\n    }\n    if (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) != 0) {\n      if (*(int *)(param_1 + 0x10) != -1) {\n        iVar1 = 2;\n        if (*(short *)(param_1 + 0xc) != 0) {\n          iVar1 = 4;\n        }\n        return *(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1;\n      }\n      return false;\n    }\n  }\n  return true;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) != 0) {\n    if ((*(int *)(PTR_DAT_000b5ca8 + 0x53d0) != 0) &&\n       (((*(int *)(param_1 + 0x10) != -1 && (*(short *)(param_1 + 0xc) == 0)) ||\n        ((*(uint *)(param_1 + 0x14) & 0x20) != 0)))) {\n      return false;\n    }\n    if (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) != 0) {\n      if (*(int *)(param_1 + 0x10) != -1) {\n        iVar1 = 2;\n        if (*(short *)(param_1 + 0xc) != 0) {\n          iVar1 = 4;\n        }\n        return *(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1;\n      }\n      return false;\n    }\n  }" if (parenthesized_expression "(*(int *)(PTR_DAT_000b5ca8 + 0x53b4) != 0)" ( (binary_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53b4) != 0" (pointer_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53b4)" * (cast_expression "(int *)(PTR_DAT_000b5ca8 + 0x53b4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000b5ca8 + 0x53b4)" ( (binary_expression "PTR_DAT_000b5ca8 + 0x53b4" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    if ((*(int *)(PTR_DAT_000b5ca8 + 0x53d0) != 0) &&\n       (((*(int *)(param_1 + 0x10) != -1 && (*(short *)(param_1 + 0xc) == 0)) ||\n        ((*(uint *)(param_1 + 0x14) & 0x20) != 0)))) {\n      return false;\n    }\n    if (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) != 0) {\n      if (*(int *)(param_1 + 0x10) != -1) {\n        iVar1 = 2;\n        if (*(short *)(param_1 + 0xc) != 0) {\n          iVar1 = 4;\n        }\n        return *(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1;\n      }\n      return false;\n    }\n  }" { (if_statement "if ((*(int *)(PTR_DAT_000b5ca8 + 0x53d0) != 0) &&\n       (((*(int *)(param_1 + 0x10) != -1 && (*(short *)(param_1 + 0xc) == 0)) ||\n        ((*(uint *)(param_1 + 0x14) & 0x20) != 0)))) {\n      return false;\n    }" if (parenthesized_expression "((*(int *)(PTR_DAT_000b5ca8 + 0x53d0) != 0) &&\n       (((*(int *)(param_1 + 0x10) != -1 && (*(short *)(param_1 + 0xc) == 0)) ||\n        ((*(uint *)(param_1 + 0x14) & 0x20) != 0))))" ( (binary_expression "(*(int *)(PTR_DAT_000b5ca8 + 0x53d0) != 0) &&\n       (((*(int *)(param_1 + 0x10) != -1 && (*(short *)(param_1 + 0xc) == 0)) ||\n        ((*(uint *)(param_1 + 0x14) & 0x20) != 0)))" (parenthesized_expression "(*(int *)(PTR_DAT_000b5ca8 + 0x53d0) != 0)" ( (binary_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53d0) != 0" (pointer_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53d0)" * (cast_expression "(int *)(PTR_DAT_000b5ca8 + 0x53d0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000b5ca8 + 0x53d0)" ( (binary_expression "PTR_DAT_000b5ca8 + 0x53d0" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(((*(int *)(param_1 + 0x10) != -1 && (*(short *)(param_1 + 0xc) == 0)) ||\n        ((*(uint *)(param_1 + 0x14) & 0x20) != 0)))" ( (parenthesized_expression "((*(int *)(param_1 + 0x10) != -1 && (*(short *)(param_1 + 0xc) == 0)) ||\n        ((*(uint *)(param_1 + 0x14) & 0x20) != 0))" ( (binary_expression "(*(int *)(param_1 + 0x10) != -1 && (*(short *)(param_1 + 0xc) == 0)) ||\n        ((*(uint *)(param_1 + 0x14) & 0x20) != 0)" (parenthesized_expression "(*(int *)(param_1 + 0x10) != -1 && (*(short *)(param_1 + 0xc) == 0))" ( (binary_expression "*(int *)(param_1 + 0x10) != -1 && (*(short *)(param_1 + 0xc) == 0)" (binary_expression "*(int *)(param_1 + 0x10) != -1" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) != number_literal) && (parenthesized_expression "(*(short *)(param_1 + 0xc) == 0)" ( (binary_expression "*(short *)(param_1 + 0xc) == 0" (pointer_expression "*(short *)(param_1 + 0xc)" * (cast_expression "(short *)(param_1 + 0xc)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) == number_literal) ))) )) || (parenthesized_expression "((*(uint *)(param_1 + 0x14) & 0x20) != 0)" ( (binary_expression "(*(uint *)(param_1 + 0x14) & 0x20) != 0" (parenthesized_expression "(*(uint *)(param_1 + 0x14) & 0x20)" ( (binary_expression "*(uint *)(param_1 + 0x14) & 0x20" (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) )) != number_literal) ))) )) ))) )) (compound_statement "{\n      return false;\n    }" { (return_statement "return false;" return false ;) })) (if_statement "if (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) != 0) {\n      if (*(int *)(param_1 + 0x10) != -1) {\n        iVar1 = 2;\n        if (*(short *)(param_1 + 0xc) != 0) {\n          iVar1 = 4;\n        }\n        return *(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1;\n      }\n      return false;\n    }" if (parenthesized_expression "(*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) != 0)" ( (binary_expression "*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) != 0" (pointer_expression "*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98)" * (cast_expression "(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_mips_opcodes_000b5cd0 + -0xb98)" ( (binary_expression "PTR_mips_opcodes_000b5cd0 + -0xb98" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      if (*(int *)(param_1 + 0x10) != -1) {\n        iVar1 = 2;\n        if (*(short *)(param_1 + 0xc) != 0) {\n          iVar1 = 4;\n        }\n        return *(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1;\n      }\n      return false;\n    }" { (if_statement "if (*(int *)(param_1 + 0x10) != -1) {\n        iVar1 = 2;\n        if (*(short *)(param_1 + 0xc) != 0) {\n          iVar1 = 4;\n        }\n        return *(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1;\n      }" if (parenthesized_expression "(*(int *)(param_1 + 0x10) != -1)" ( (binary_expression "*(int *)(param_1 + 0x10) != -1" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        iVar1 = 2;\n        if (*(short *)(param_1 + 0xc) != 0) {\n          iVar1 = 4;\n        }\n        return *(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1;\n      }" { (expression_statement "iVar1 = 2;" (assignment_expression "iVar1 = 2" identifier = number_literal) ;) (if_statement "if (*(short *)(param_1 + 0xc) != 0) {\n          iVar1 = 4;\n        }" if (parenthesized_expression "(*(short *)(param_1 + 0xc) != 0)" ( (binary_expression "*(short *)(param_1 + 0xc) != 0" (pointer_expression "*(short *)(param_1 + 0xc)" * (cast_expression "(short *)(param_1 + 0xc)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n          iVar1 = 4;\n        }" { (expression_statement "iVar1 = 4;" (assignment_expression "iVar1 = 4" identifier = number_literal) ;) })) (return_statement "return *(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1;" return (binary_expression "*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1" (pointer_expression "*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98)" * (cast_expression "(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_mips_opcodes_000b5cd0 + -0xb98)" ( (binary_expression "PTR_mips_opcodes_000b5cd0 + -0xb98" identifier + number_literal) )))) == identifier) ;) })) (return_statement "return false;" return false ;) })) })) (return_statement "return true;" return true ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) ))) )) || (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) ))) )) ))) )) (compound_statement { (return_statement return BOOL ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (return_statement return (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == IDENT) ;) })) (return_statement return BOOL ;) })) })) (return_statement return BOOL ;) })))
(function_definition "bool FUN_0005cf58(int param_1)\n\n{\n  int iVar1;\n  \n  if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) != 0) {\n    if ((*(int *)(PTR_DAT_000b5ca8 + 0x53d0) != 0) &&\n       (((*(int *)(param_1 + 0x10) != -1 && (*(short *)(param_1 + 0xc) == 0)) ||\n        ((*(uint *)(param_1 + 0x14) & 0x20) != 0)))) {\n      return false;\n    }\n    if (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) != 0) {\n      if (*(int *)(param_1 + 0x10) != -1) {\n        iVar1 = 2;\n        if (*(short *)(param_1 + 0xc) != 0) {\n          iVar1 = 4;\n        }\n        return *(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1;\n      }\n      return false;\n    }\n  }\n  return true;\n}" (primitive_type "bool") (function_declarator "FUN_0005cf58(int param_1)" (identifier "FUN_0005cf58") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) != 0) {\n    if ((*(int *)(PTR_DAT_000b5ca8 + 0x53d0) != 0) &&\n       (((*(int *)(param_1 + 0x10) != -1 && (*(short *)(param_1 + 0xc) == 0)) ||\n        ((*(uint *)(param_1 + 0x14) & 0x20) != 0)))) {\n      return false;\n    }\n    if (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) != 0) {\n      if (*(int *)(param_1 + 0x10) != -1) {\n        iVar1 = 2;\n        if (*(short *)(param_1 + 0xc) != 0) {\n          iVar1 = 4;\n        }\n        return *(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1;\n      }\n      return false;\n    }\n  }\n  return true;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (if_statement "if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) != 0) {\n    if ((*(int *)(PTR_DAT_000b5ca8 + 0x53d0) != 0) &&\n       (((*(int *)(param_1 + 0x10) != -1 && (*(short *)(param_1 + 0xc) == 0)) ||\n        ((*(uint *)(param_1 + 0x14) & 0x20) != 0)))) {\n      return false;\n    }\n    if (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) != 0) {\n      if (*(int *)(param_1 + 0x10) != -1) {\n        iVar1 = 2;\n        if (*(short *)(param_1 + 0xc) != 0) {\n          iVar1 = 4;\n        }\n        return *(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1;\n      }\n      return false;\n    }\n  }" (if "if") (parenthesized_expression "(*(int *)(PTR_DAT_000b5ca8 + 0x53b4) != 0)" (( "(") (binary_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53b4) != 0" (pointer_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53b4)" (* "*") (cast_expression "(int *)(PTR_DAT_000b5ca8 + 0x53b4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000b5ca8 + 0x53b4)" (( "(") (binary_expression "PTR_DAT_000b5ca8 + 0x53b4" (identifier "PTR_DAT_000b5ca8") (+ "+") (number_literal "0x53b4")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if ((*(int *)(PTR_DAT_000b5ca8 + 0x53d0) != 0) &&\n       (((*(int *)(param_1 + 0x10) != -1 && (*(short *)(param_1 + 0xc) == 0)) ||\n        ((*(uint *)(param_1 + 0x14) & 0x20) != 0)))) {\n      return false;\n    }\n    if (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) != 0) {\n      if (*(int *)(param_1 + 0x10) != -1) {\n        iVar1 = 2;\n        if (*(short *)(param_1 + 0xc) != 0) {\n          iVar1 = 4;\n        }\n        return *(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1;\n      }\n      return false;\n    }\n  }" ({ "{") (if_statement "if ((*(int *)(PTR_DAT_000b5ca8 + 0x53d0) != 0) &&\n       (((*(int *)(param_1 + 0x10) != -1 && (*(short *)(param_1 + 0xc) == 0)) ||\n        ((*(uint *)(param_1 + 0x14) & 0x20) != 0)))) {\n      return false;\n    }" (if "if") (parenthesized_expression "((*(int *)(PTR_DAT_000b5ca8 + 0x53d0) != 0) &&\n       (((*(int *)(param_1 + 0x10) != -1 && (*(short *)(param_1 + 0xc) == 0)) ||\n        ((*(uint *)(param_1 + 0x14) & 0x20) != 0))))" (( "(") (binary_expression "(*(int *)(PTR_DAT_000b5ca8 + 0x53d0) != 0) &&\n       (((*(int *)(param_1 + 0x10) != -1 && (*(short *)(param_1 + 0xc) == 0)) ||\n        ((*(uint *)(param_1 + 0x14) & 0x20) != 0)))" (parenthesized_expression "(*(int *)(PTR_DAT_000b5ca8 + 0x53d0) != 0)" (( "(") (binary_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53d0) != 0" (pointer_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53d0)" (* "*") (cast_expression "(int *)(PTR_DAT_000b5ca8 + 0x53d0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000b5ca8 + 0x53d0)" (( "(") (binary_expression "PTR_DAT_000b5ca8 + 0x53d0" (identifier "PTR_DAT_000b5ca8") (+ "+") (number_literal "0x53d0")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(((*(int *)(param_1 + 0x10) != -1 && (*(short *)(param_1 + 0xc) == 0)) ||\n        ((*(uint *)(param_1 + 0x14) & 0x20) != 0)))" (( "(") (parenthesized_expression "((*(int *)(param_1 + 0x10) != -1 && (*(short *)(param_1 + 0xc) == 0)) ||\n        ((*(uint *)(param_1 + 0x14) & 0x20) != 0))" (( "(") (binary_expression "(*(int *)(param_1 + 0x10) != -1 && (*(short *)(param_1 + 0xc) == 0)) ||\n        ((*(uint *)(param_1 + 0x14) & 0x20) != 0)" (parenthesized_expression "(*(int *)(param_1 + 0x10) != -1 && (*(short *)(param_1 + 0xc) == 0))" (( "(") (binary_expression "*(int *)(param_1 + 0x10) != -1 && (*(short *)(param_1 + 0xc) == 0)" (binary_expression "*(int *)(param_1 + 0x10) != -1" (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (!= "!=") (number_literal "-1")) (&& "&&") (parenthesized_expression "(*(short *)(param_1 + 0xc) == 0)" (( "(") (binary_expression "*(short *)(param_1 + 0xc) == 0" (pointer_expression "*(short *)(param_1 + 0xc)" (* "*") (cast_expression "(short *)(param_1 + 0xc)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (== "==") (number_literal "0")) () ")"))) () ")")) (|| "||") (parenthesized_expression "((*(uint *)(param_1 + 0x14) & 0x20) != 0)" (( "(") (binary_expression "(*(uint *)(param_1 + 0x14) & 0x20) != 0" (parenthesized_expression "(*(uint *)(param_1 + 0x14) & 0x20)" (( "(") (binary_expression "*(uint *)(param_1 + 0x14) & 0x20" (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 "0x20")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n      return false;\n    }" ({ "{") (return_statement "return false;" (return "return") (false "false") (; ";")) (} "}"))) (if_statement "if (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) != 0) {\n      if (*(int *)(param_1 + 0x10) != -1) {\n        iVar1 = 2;\n        if (*(short *)(param_1 + 0xc) != 0) {\n          iVar1 = 4;\n        }\n        return *(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1;\n      }\n      return false;\n    }" (if "if") (parenthesized_expression "(*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) != 0)" (( "(") (binary_expression "*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) != 0" (pointer_expression "*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98)" (* "*") (cast_expression "(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_mips_opcodes_000b5cd0 + -0xb98)" (( "(") (binary_expression "PTR_mips_opcodes_000b5cd0 + -0xb98" (identifier "PTR_mips_opcodes_000b5cd0") (+ "+") (number_literal "-0xb98")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      if (*(int *)(param_1 + 0x10) != -1) {\n        iVar1 = 2;\n        if (*(short *)(param_1 + 0xc) != 0) {\n          iVar1 = 4;\n        }\n        return *(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1;\n      }\n      return false;\n    }" ({ "{") (if_statement "if (*(int *)(param_1 + 0x10) != -1) {\n        iVar1 = 2;\n        if (*(short *)(param_1 + 0xc) != 0) {\n          iVar1 = 4;\n        }\n        return *(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1;\n      }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x10) != -1)" (( "(") (binary_expression "*(int *)(param_1 + 0x10) != -1" (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n        iVar1 = 2;\n        if (*(short *)(param_1 + 0xc) != 0) {\n          iVar1 = 4;\n        }\n        return *(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1;\n      }" ({ "{") (expression_statement "iVar1 = 2;" (assignment_expression "iVar1 = 2" (identifier "iVar1") (= "=") (number_literal "2")) (; ";")) (if_statement "if (*(short *)(param_1 + 0xc) != 0) {\n          iVar1 = 4;\n        }" (if "if") (parenthesized_expression "(*(short *)(param_1 + 0xc) != 0)" (( "(") (binary_expression "*(short *)(param_1 + 0xc) != 0" (pointer_expression "*(short *)(param_1 + 0xc)" (* "*") (cast_expression "(short *)(param_1 + 0xc)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          iVar1 = 4;\n        }" ({ "{") (expression_statement "iVar1 = 4;" (assignment_expression "iVar1 = 4" (identifier "iVar1") (= "=") (number_literal "4")) (; ";")) (} "}"))) (return_statement "return *(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1;" (return "return") (binary_expression "*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1" (pointer_expression "*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98)" (* "*") (cast_expression "(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_mips_opcodes_000b5cd0 + -0xb98)" (( "(") (binary_expression "PTR_mips_opcodes_000b5cd0 + -0xb98" (identifier "PTR_mips_opcodes_000b5cd0") (+ "+") (number_literal "-0xb98")) () ")")))) (== "==") (identifier "iVar1")) (; ";")) (} "}"))) (return_statement "return false;" (return "return") (false "false") (; ";")) (} "}"))) (} "}"))) (return_statement "return true;" (return "return") (true "true") (; ";")) (} "}")))

type_1 function_1(type_2 *mo)

{
  int var_3;
  
  if (*(int *)(var_1 + 0x53b4) != 0) {
    if ((*(int *)(var_1 + 0x53d0) != 0) &&
       (((mo->pinfo != 0xffffffff && (*(short *)&mo->mask == 0)) || ((mo->pinfo2 & 0x20) != 0)))) {
      return 0;
    }
    if (*(int *)(var_2 + -0xb98) != 0) {
      if (mo->pinfo != 0xffffffff) {
        var_3 = 2;
        if (*(short *)&mo->mask != 0) {
          var_3 = 4;
        }
        return (uint)(*(int *)(var_2 + -0xb98) == var_3);
      }
      return 0;
    }
  }
  return 1;
}


(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: (identifier)) (if_statement condition: (parenthesized_expression (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))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (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))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (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)) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (parenthesized_expression (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)))))))) consequence: (compound_statement (return_statement (false)))) (if_statement condition: (parenthesized_expression (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))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (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))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (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: (identifier))))) (return_statement (false)))))) (return_statement (true)))))

bool MASKED(int param_1)

{
  int iVar1;
  
  if (*(int *)(PTR_DAT_000b5ca8 + 0x53b4) != 0) {
    if ((*(int *)(PTR_DAT_000b5ca8 + 0x53d0) != 0) &&
       (((*(int *)(param_1 + 0x10) != -1 && (*(short *)(param_1 + 0xc) == 0)) ||
        ((*(uint *)(param_1 + 0x14) & 0x20) != 0)))) {
      return false;
    }
    if (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) != 0) {
      if (*(int *)(param_1 + 0x10) != -1) {
        iVar1 = 2;
        if (*(short *)(param_1 + 0xc) != 0) {
          iVar1 = 4;
        }
        return *(int *)(PTR_mips_opcodes_000b5cd0 + -0xb98) == iVar1;
      }
      return false;
    }
  }
  return true;
}

