
int x11_font_has_glyph(XFontStruct *xfs,uchar byte1,uchar byte2)

{
  XCharStruct *pXVar1;
  
  pXVar1 = x11_char_struct(xfs,byte1,byte2);
  if (pXVar1 == (XCharStruct *)0x0) {
    return 0;
  }
  if (0 < (int)pXVar1->ascent + (int)pXVar1->descent) {
    return 1;
  }
  return (uint)(0 < pXVar1->width);
}



bool FUN_00060cb4(void)

{
  int iVar1;
  
  iVar1 = FUN_00060c10();
  if (iVar1 == 0) {
    return false;
  }
  if (0 < (int)*(short *)(iVar1 + 6) + (int)*(short *)(iVar1 + 8)) {
    return true;
  }
  return 0 < *(short *)(iVar1 + 4);
}


lui gp,0x6
addiu gp,gp,-0x3ae4
addu gp,gp,t9
lw t9,-0x7a88(gp)
addiu sp,sp,-0x20
addiu t9,t9,0xc10
sw gp,0x10(sp)
sw ra,0x1c(sp)
bal 0x00060c10
_nop
beq v0,zero,0x00060d14
_lw ra,0x1c(sp)
lh v1,0x6(v0)
lh a0,0x8(v0)
addu v1,v1,a0
blez v1,0x00060d04
_nop
li v0,0x1
jr ra
_addiu sp,sp,0x20
lh v0,0x4(v0)
addiu sp,sp,0x20
jr ra
_slt v0,zero,v0
or v0,zero,zero
jr ra
_addiu sp,sp,0x20
(translation_unit "bool FUN_00060cb4(void)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00060c10();\n  if (iVar1 == 0) {\n    return false;\n  }\n  if (0 < (int)*(short *)(iVar1 + 6) + (int)*(short *)(iVar1 + 8)) {\n    return true;\n  }\n  return 0 < *(short *)(iVar1 + 4);\n}\n\n" (function_definition "bool FUN_00060cb4(void)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00060c10();\n  if (iVar1 == 0) {\n    return false;\n  }\n  if (0 < (int)*(short *)(iVar1 + 6) + (int)*(short *)(iVar1 + 8)) {\n    return true;\n  }\n  return 0 < *(short *)(iVar1 + 4);\n}" primitive_type (function_declarator "FUN_00060cb4(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_00060c10();\n  if (iVar1 == 0) {\n    return false;\n  }\n  if (0 < (int)*(short *)(iVar1 + 6) + (int)*(short *)(iVar1 + 8)) {\n    return true;\n  }\n  return 0 < *(short *)(iVar1 + 4);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_00060c10();" (assignment_expression "iVar1 = FUN_00060c10()" identifier = (call_expression "FUN_00060c10()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar1 == 0) {\n    return false;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    return false;\n  }" { (return_statement "return false;" return false ;) })) (if_statement "if (0 < (int)*(short *)(iVar1 + 6) + (int)*(short *)(iVar1 + 8)) {\n    return true;\n  }" if (parenthesized_expression "(0 < (int)*(short *)(iVar1 + 6) + (int)*(short *)(iVar1 + 8))" ( (binary_expression "0 < (int)*(short *)(iVar1 + 6) + (int)*(short *)(iVar1 + 8)" number_literal < (binary_expression "(int)*(short *)(iVar1 + 6) + (int)*(short *)(iVar1 + 8)" (cast_expression "(int)*(short *)(iVar1 + 6)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(short *)(iVar1 + 6)" * (cast_expression "(short *)(iVar1 + 6)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 6)" ( (binary_expression "iVar1 + 6" identifier + number_literal) ))))) + (cast_expression "(int)*(short *)(iVar1 + 8)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(short *)(iVar1 + 8)" * (cast_expression "(short *)(iVar1 + 8)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) ))))))) )) (compound_statement "{\n    return true;\n  }" { (return_statement "return true;" return true ;) })) (return_statement "return 0 < *(short *)(iVar1 + 4);" return (binary_expression "0 < *(short *)(iVar1 + 4)" number_literal < (pointer_expression "*(short *)(iVar1 + 4)" * (cast_expression "(short *)(iVar1 + 4)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) ))))) ;) })))
(translation_unit "int x11_font_has_glyph(XFontStruct *xfs,uchar byte1,uchar byte2)\n\n{\n  XCharStruct *pXVar1;\n  \n  pXVar1 = x11_char_struct(xfs,byte1,byte2);\n  if (pXVar1 == (XCharStruct *)0x0) {\n    return 0;\n  }\n  if (0 < (int)pXVar1->ascent + (int)pXVar1->descent) {\n    return 1;\n  }\n  return (uint)(0 < pXVar1->width);\n}\n\n" (function_definition "int x11_font_has_glyph(XFontStruct *xfs,uchar byte1,uchar byte2)\n\n{\n  XCharStruct *pXVar1;\n  \n  pXVar1 = x11_char_struct(xfs,byte1,byte2);\n  if (pXVar1 == (XCharStruct *)0x0) {\n    return 0;\n  }\n  if (0 < (int)pXVar1->ascent + (int)pXVar1->descent) {\n    return 1;\n  }\n  return (uint)(0 < pXVar1->width);\n}" primitive_type (function_declarator "x11_font_has_glyph(XFontStruct *xfs,uchar byte1,uchar byte2)" identifier (parameter_list "(XFontStruct *xfs,uchar byte1,uchar byte2)" ( (parameter_declaration "XFontStruct *xfs" type_identifier (pointer_declarator "*xfs" * identifier)) , (parameter_declaration "uchar byte1" type_identifier identifier) , (parameter_declaration "uchar byte2" type_identifier identifier) ))) (compound_statement "{\n  XCharStruct *pXVar1;\n  \n  pXVar1 = x11_char_struct(xfs,byte1,byte2);\n  if (pXVar1 == (XCharStruct *)0x0) {\n    return 0;\n  }\n  if (0 < (int)pXVar1->ascent + (int)pXVar1->descent) {\n    return 1;\n  }\n  return (uint)(0 < pXVar1->width);\n}" { (declaration "XCharStruct *pXVar1;" type_identifier (pointer_declarator "*pXVar1" * identifier) ;) (expression_statement "pXVar1 = x11_char_struct(xfs,byte1,byte2);" (assignment_expression "pXVar1 = x11_char_struct(xfs,byte1,byte2)" identifier = (call_expression "x11_char_struct(xfs,byte1,byte2)" identifier (argument_list "(xfs,byte1,byte2)" ( identifier , identifier , identifier )))) ;) (if_statement "if (pXVar1 == (XCharStruct *)0x0) {\n    return 0;\n  }" if (parenthesized_expression "(pXVar1 == (XCharStruct *)0x0)" ( (binary_expression "pXVar1 == (XCharStruct *)0x0" identifier == (cast_expression "(XCharStruct *)0x0" ( (type_descriptor "XCharStruct *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (0 < (int)pXVar1->ascent + (int)pXVar1->descent) {\n    return 1;\n  }" if (parenthesized_expression "(0 < (int)pXVar1->ascent + (int)pXVar1->descent)" ( (binary_expression "0 < (int)pXVar1->ascent + (int)pXVar1->descent" number_literal < (binary_expression "(int)pXVar1->ascent + (int)pXVar1->descent" (cast_expression "(int)pXVar1->ascent" ( (type_descriptor "int" primitive_type) ) (field_expression "pXVar1->ascent" identifier -> field_identifier)) + (cast_expression "(int)pXVar1->descent" ( (type_descriptor "int" primitive_type) ) (field_expression "pXVar1->descent" identifier -> field_identifier)))) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (return_statement "return (uint)(0 < pXVar1->width);" return (call_expression "(uint)(0 < pXVar1->width)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0 < pXVar1->width)" ( (binary_expression "0 < pXVar1->width" number_literal < (field_expression "pXVar1->width" identifier -> field_identifier)) ))) ;) })))
(translation_unit "bool FUN_00060cb4(void)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00060c10();\n  if (iVar1 == 0) {\n    return false;\n  }\n  if (0 < (int)*(short *)(iVar1 + 6) + (int)*(short *)(iVar1 + 8)) {\n    return true;\n  }\n  return 0 < *(short *)(iVar1 + 4);\n}\n\n" (function_definition "bool FUN_00060cb4(void)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00060c10();\n  if (iVar1 == 0) {\n    return false;\n  }\n  if (0 < (int)*(short *)(iVar1 + 6) + (int)*(short *)(iVar1 + 8)) {\n    return true;\n  }\n  return 0 < *(short *)(iVar1 + 4);\n}" primitive_type (function_declarator "FUN_00060cb4(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_00060c10();\n  if (iVar1 == 0) {\n    return false;\n  }\n  if (0 < (int)*(short *)(iVar1 + 6) + (int)*(short *)(iVar1 + 8)) {\n    return true;\n  }\n  return 0 < *(short *)(iVar1 + 4);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_00060c10();" (assignment_expression "iVar1 = FUN_00060c10()" identifier = (call_expression "FUN_00060c10()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar1 == 0) {\n    return false;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    return false;\n  }" { (return_statement "return false;" return false ;) })) (if_statement "if (0 < (int)*(short *)(iVar1 + 6) + (int)*(short *)(iVar1 + 8)) {\n    return true;\n  }" if (parenthesized_expression "(0 < (int)*(short *)(iVar1 + 6) + (int)*(short *)(iVar1 + 8))" ( (binary_expression "0 < (int)*(short *)(iVar1 + 6) + (int)*(short *)(iVar1 + 8)" number_literal < (binary_expression "(int)*(short *)(iVar1 + 6) + (int)*(short *)(iVar1 + 8)" (cast_expression "(int)*(short *)(iVar1 + 6)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(short *)(iVar1 + 6)" * (cast_expression "(short *)(iVar1 + 6)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 6)" ( (binary_expression "iVar1 + 6" identifier + number_literal) ))))) + (cast_expression "(int)*(short *)(iVar1 + 8)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(short *)(iVar1 + 8)" * (cast_expression "(short *)(iVar1 + 8)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) ))))))) )) (compound_statement "{\n    return true;\n  }" { (return_statement "return true;" return true ;) })) (return_statement "return 0 < *(short *)(iVar1 + 4);" return (binary_expression "0 < *(short *)(iVar1 + 4)" number_literal < (pointer_expression "*(short *)(iVar1 + 4)" * (cast_expression "(short *)(iVar1 + 4)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) ))))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return BOOL ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))))) )) (compound_statement { (return_statement return BOOL ;) })) (return_statement return (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })))
(function_definition "bool FUN_00060cb4(void)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00060c10();\n  if (iVar1 == 0) {\n    return false;\n  }\n  if (0 < (int)*(short *)(iVar1 + 6) + (int)*(short *)(iVar1 + 8)) {\n    return true;\n  }\n  return 0 < *(short *)(iVar1 + 4);\n}" (primitive_type "bool") (function_declarator "FUN_00060cb4(void)" (identifier "FUN_00060cb4") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_00060c10();\n  if (iVar1 == 0) {\n    return false;\n  }\n  if (0 < (int)*(short *)(iVar1 + 6) + (int)*(short *)(iVar1 + 8)) {\n    return true;\n  }\n  return 0 < *(short *)(iVar1 + 4);\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = FUN_00060c10();" (assignment_expression "iVar1 = FUN_00060c10()" (identifier "iVar1") (= "=") (call_expression "FUN_00060c10()" (identifier "FUN_00060c10") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n    return false;\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return false;\n  }" ({ "{") (return_statement "return false;" (return "return") (false "false") (; ";")) (} "}"))) (if_statement "if (0 < (int)*(short *)(iVar1 + 6) + (int)*(short *)(iVar1 + 8)) {\n    return true;\n  }" (if "if") (parenthesized_expression "(0 < (int)*(short *)(iVar1 + 6) + (int)*(short *)(iVar1 + 8))" (( "(") (binary_expression "0 < (int)*(short *)(iVar1 + 6) + (int)*(short *)(iVar1 + 8)" (number_literal "0") (< "<") (binary_expression "(int)*(short *)(iVar1 + 6) + (int)*(short *)(iVar1 + 8)" (cast_expression "(int)*(short *)(iVar1 + 6)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*(short *)(iVar1 + 6)" (* "*") (cast_expression "(short *)(iVar1 + 6)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 6)" (( "(") (binary_expression "iVar1 + 6" (identifier "iVar1") (+ "+") (number_literal "6")) () ")"))))) (+ "+") (cast_expression "(int)*(short *)(iVar1 + 8)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*(short *)(iVar1 + 8)" (* "*") (cast_expression "(short *)(iVar1 + 8)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")"))))))) () ")")) (compound_statement "{\n    return true;\n  }" ({ "{") (return_statement "return true;" (return "return") (true "true") (; ";")) (} "}"))) (return_statement "return 0 < *(short *)(iVar1 + 4);" (return "return") (binary_expression "0 < *(short *)(iVar1 + 4)" (number_literal "0") (< "<") (pointer_expression "*(short *)(iVar1 + 4)" (* "*") (cast_expression "(short *)(iVar1 + 4)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 4)" (( "(") (binary_expression "iVar1 + 4" (identifier "iVar1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (false)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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))))))))) consequence: (compound_statement (return_statement (true)))) (return_statement (binary_expression left: (number_literal) right: (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))))))))))

bool MASKED(void)

{
  int iVar1;
  
  iVar1 = FUN_00060c10();
  if (iVar1 == 0) {
    return false;
  }
  if (0 < (int)*(short *)(iVar1 + 6) + (int)*(short *)(iVar1 + 8)) {
    return true;
  }
  return 0 < *(short *)(iVar1 + 4);
}

