
/* std::ctype<wchar_t>::_M_convert_to_wmask(unsigned short) const */

undefined8 __thiscall std::ctype<wchar_t>::_M_convert_to_wmask(ctype<wchar_t> *this,ushort param_1)

{
  undefined8 uVar1;
  
  if (param_1 == 0x400) {
    uVar1 = __wctype_l("alpha",*(undefined8 *)(this + 0x10));
    return uVar1;
  }
  if (param_1 < 0x401) {
    if (param_1 == 4) {
      uVar1 = __wctype_l("punct",*(undefined8 *)(this + 0x10));
      return uVar1;
    }
    if (param_1 < 5) {
      if (param_1 == 1) {
        uVar1 = __wctype_l("blank",*(undefined8 *)(this + 0x10));
        return uVar1;
      }
      if (param_1 == 2) {
        uVar1 = __wctype_l("cntrl",*(undefined8 *)(this + 0x10));
        return uVar1;
      }
    }
    else {
      if (param_1 == 0x100) {
        uVar1 = __wctype_l("upper",*(undefined8 *)(this + 0x10));
        return uVar1;
      }
      if (param_1 == 0x200) {
        uVar1 = __wctype_l("lower",*(undefined8 *)(this + 0x10));
        return uVar1;
      }
    }
  }
  else {
    if (param_1 == 0xc04) {
      uVar1 = __wctype_l("graph",*(undefined8 *)(this + 0x10));
      return uVar1;
    }
    if (param_1 < 0xc05) {
      if (param_1 == 0x800) {
        uVar1 = __wctype_l("digit",*(undefined8 *)(this + 0x10));
        return uVar1;
      }
      if (param_1 == 0xc00) {
        uVar1 = __wctype_l("alnum",*(undefined8 *)(this + 0x10));
        return uVar1;
      }
    }
    else {
      if (param_1 == 0x2000) {
        uVar1 = __wctype_l("space",*(undefined8 *)(this + 0x10));
        return uVar1;
      }
      if (param_1 == 0x4000) {
        uVar1 = __wctype_l("print",*(undefined8 *)(this + 0x10));
        return uVar1;
      }
      if (param_1 == 0x1000) {
        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(this + 0x10));
        return uVar1;
      }
    }
  }
  return 0;
}



undefined8 FUN_0030f940(long param_1,ushort param_2)

{
  undefined8 uVar1;
  
  if (param_2 == 0x400) {
    uVar1 = __wctype_l("alpha",*(undefined8 *)(param_1 + 0x10));
    return uVar1;
  }
  if (param_2 < 0x401) {
    if (param_2 == 4) {
      uVar1 = __wctype_l("punct",*(undefined8 *)(param_1 + 0x10));
      return uVar1;
    }
    if (param_2 < 5) {
      if (param_2 == 1) {
        uVar1 = __wctype_l("blank",*(undefined8 *)(param_1 + 0x10));
        return uVar1;
      }
      if (param_2 == 2) {
        uVar1 = __wctype_l("cntrl",*(undefined8 *)(param_1 + 0x10));
        return uVar1;
      }
    }
    else {
      if (param_2 == 0x100) {
        uVar1 = __wctype_l("upper",*(undefined8 *)(param_1 + 0x10));
        return uVar1;
      }
      if (param_2 == 0x200) {
        uVar1 = __wctype_l("lower",*(undefined8 *)(param_1 + 0x10));
        return uVar1;
      }
    }
  }
  else {
    if (param_2 == 0xc04) {
      uVar1 = __wctype_l("graph",*(undefined8 *)(param_1 + 0x10));
      return uVar1;
    }
    if (param_2 < 0xc05) {
      if (param_2 == 0x800) {
        uVar1 = __wctype_l("digit",*(undefined8 *)(param_1 + 0x10));
        return uVar1;
      }
      if (param_2 == 0xc00) {
        uVar1 = __wctype_l("alnum",*(undefined8 *)(param_1 + 0x10));
        return uVar1;
      }
    }
    else {
      if (param_2 == 0x2000) {
        uVar1 = __wctype_l("space",*(undefined8 *)(param_1 + 0x10));
        return uVar1;
      }
      if (param_2 == 0x4000) {
        uVar1 = __wctype_l("print",*(undefined8 *)(param_1 + 0x10));
        return uVar1;
      }
      if (param_2 == 0x1000) {
        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10));
        return uVar1;
      }
    }
  }
  return 0;
}


CMP SI,0x400
JZ 0x0030fa00
JBE 0x0030f980
CMP SI,0xc04
JZ 0x0030fa10
JBE 0x0030f9b0
CMP SI,0x2000
JZ 0x0030fa20
CMP SI,0x4000
JZ 0x0030fa30
CMP SI,0x1000
JZ 0x0030fa40
XOR EAX,EAX
RET
CMP SI,0x4
JZ 0x0030fa50
JBE 0x0030f9d8
CMP SI,0x100
JZ 0x0030fa60
CMP SI,0x200
JNZ 0x0030f97b
MOV RSI,qword ptr [RDI + 0x10]
LEA RDI,[0x391f00]
JMP 0x00147360
CMP SI,0x800
JZ 0x0030fa70
CMP SI,0xc00
JNZ 0x0030f97b
MOV RSI,qword ptr [RDI + 0x10]
LEA RDI,[0x391f19]
JMP 0x00147360
CMP SI,0x1
JZ 0x0030fa80
CMP SI,0x2
JNZ 0x0030f97b
MOV RSI,qword ptr [RDI + 0x10]
LEA RDI,[0x391ef4]
JMP 0x00147360
MOV RSI,qword ptr [RDI + 0x10]
LEA RDI,[0x391f06]
JMP 0x00147360
MOV RSI,qword ptr [RDI + 0x10]
LEA RDI,[0x391f1f]
JMP 0x00147360
MOV RSI,qword ptr [RDI + 0x10]
LEA RDI,[0x391ee8]
JMP 0x00147360
MOV RSI,qword ptr [RDI + 0x10]
LEA RDI,[0x391eee]
JMP 0x00147360
MOV RSI,qword ptr [RDI + 0x10]
LEA RDI,[0x391f12]
JMP 0x00147360
MOV RSI,qword ptr [RDI + 0x10]
LEA RDI,[0x391f0c]
JMP 0x00147360
MOV RSI,qword ptr [RDI + 0x10]
LEA RDI,[0x391efa]
JMP 0x00147360
MOV RSI,qword ptr [RDI + 0x10]
LEA RDI,[0x391f13]
JMP 0x00147360
MOV RSI,qword ptr [RDI + 0x10]
LEA RDI,[0x391f25]
JMP 0x00147360
(translation_unit "undefined8 FUN_0030f940(long param_1,ushort param_2)\n\n{\n  undefined8 uVar1;\n  \n  if (param_2 == 0x400) {\n    uVar1 = __wctype_l("alpha",*(undefined8 *)(param_1 + 0x10));\n    return uVar1;\n  }\n  if (param_2 < 0x401) {\n    if (param_2 == 4) {\n      uVar1 = __wctype_l("punct",*(undefined8 *)(param_1 + 0x10));\n      return uVar1;\n    }\n    if (param_2 < 5) {\n      if (param_2 == 1) {\n        uVar1 = __wctype_l("blank",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 2) {\n        uVar1 = __wctype_l("cntrl",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_2 == 0x100) {\n        uVar1 = __wctype_l("upper",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x200) {\n        uVar1 = __wctype_l("lower",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n  }\n  else {\n    if (param_2 == 0xc04) {\n      uVar1 = __wctype_l("graph",*(undefined8 *)(param_1 + 0x10));\n      return uVar1;\n    }\n    if (param_2 < 0xc05) {\n      if (param_2 == 0x800) {\n        uVar1 = __wctype_l("digit",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0xc00) {\n        uVar1 = __wctype_l("alnum",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_2 == 0x2000) {\n        uVar1 = __wctype_l("space",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x4000) {\n        uVar1 = __wctype_l("print",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x1000) {\n        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n  }\n  return 0;\n}\n\n" (function_definition "undefined8 FUN_0030f940(long param_1,ushort param_2)\n\n{\n  undefined8 uVar1;\n  \n  if (param_2 == 0x400) {\n    uVar1 = __wctype_l("alpha",*(undefined8 *)(param_1 + 0x10));\n    return uVar1;\n  }\n  if (param_2 < 0x401) {\n    if (param_2 == 4) {\n      uVar1 = __wctype_l("punct",*(undefined8 *)(param_1 + 0x10));\n      return uVar1;\n    }\n    if (param_2 < 5) {\n      if (param_2 == 1) {\n        uVar1 = __wctype_l("blank",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 2) {\n        uVar1 = __wctype_l("cntrl",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_2 == 0x100) {\n        uVar1 = __wctype_l("upper",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x200) {\n        uVar1 = __wctype_l("lower",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n  }\n  else {\n    if (param_2 == 0xc04) {\n      uVar1 = __wctype_l("graph",*(undefined8 *)(param_1 + 0x10));\n      return uVar1;\n    }\n    if (param_2 < 0xc05) {\n      if (param_2 == 0x800) {\n        uVar1 = __wctype_l("digit",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0xc00) {\n        uVar1 = __wctype_l("alnum",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_2 == 0x2000) {\n        uVar1 = __wctype_l("space",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x4000) {\n        uVar1 = __wctype_l("print",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x1000) {\n        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0030f940(long param_1,ushort param_2)" identifier (parameter_list "(long param_1,ushort param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "ushort param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined8 uVar1;\n  \n  if (param_2 == 0x400) {\n    uVar1 = __wctype_l("alpha",*(undefined8 *)(param_1 + 0x10));\n    return uVar1;\n  }\n  if (param_2 < 0x401) {\n    if (param_2 == 4) {\n      uVar1 = __wctype_l("punct",*(undefined8 *)(param_1 + 0x10));\n      return uVar1;\n    }\n    if (param_2 < 5) {\n      if (param_2 == 1) {\n        uVar1 = __wctype_l("blank",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 2) {\n        uVar1 = __wctype_l("cntrl",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_2 == 0x100) {\n        uVar1 = __wctype_l("upper",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x200) {\n        uVar1 = __wctype_l("lower",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n  }\n  else {\n    if (param_2 == 0xc04) {\n      uVar1 = __wctype_l("graph",*(undefined8 *)(param_1 + 0x10));\n      return uVar1;\n    }\n    if (param_2 < 0xc05) {\n      if (param_2 == 0x800) {\n        uVar1 = __wctype_l("digit",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0xc00) {\n        uVar1 = __wctype_l("alnum",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_2 == 0x2000) {\n        uVar1 = __wctype_l("space",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x4000) {\n        uVar1 = __wctype_l("print",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x1000) {\n        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n  }\n  return 0;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (if_statement "if (param_2 == 0x400) {\n    uVar1 = __wctype_l("alpha",*(undefined8 *)(param_1 + 0x10));\n    return uVar1;\n  }" if (parenthesized_expression "(param_2 == 0x400)" ( (binary_expression "param_2 == 0x400" identifier == number_literal) )) (compound_statement "{\n    uVar1 = __wctype_l("alpha",*(undefined8 *)(param_1 + 0x10));\n    return uVar1;\n  }" { (expression_statement "uVar1 = __wctype_l("alpha",*(undefined8 *)(param_1 + 0x10));" (assignment_expression "uVar1 = __wctype_l("alpha",*(undefined8 *)(param_1 + 0x10))" identifier = (call_expression "__wctype_l("alpha",*(undefined8 *)(param_1 + 0x10))" identifier (argument_list "("alpha",*(undefined8 *)(param_1 + 0x10))" ( (string_literal ""alpha"" " string_content ") , (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) )))) ;) (return_statement "return uVar1;" return identifier ;) })) (if_statement "if (param_2 < 0x401) {\n    if (param_2 == 4) {\n      uVar1 = __wctype_l("punct",*(undefined8 *)(param_1 + 0x10));\n      return uVar1;\n    }\n    if (param_2 < 5) {\n      if (param_2 == 1) {\n        uVar1 = __wctype_l("blank",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 2) {\n        uVar1 = __wctype_l("cntrl",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_2 == 0x100) {\n        uVar1 = __wctype_l("upper",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x200) {\n        uVar1 = __wctype_l("lower",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n  }\n  else {\n    if (param_2 == 0xc04) {\n      uVar1 = __wctype_l("graph",*(undefined8 *)(param_1 + 0x10));\n      return uVar1;\n    }\n    if (param_2 < 0xc05) {\n      if (param_2 == 0x800) {\n        uVar1 = __wctype_l("digit",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0xc00) {\n        uVar1 = __wctype_l("alnum",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_2 == 0x2000) {\n        uVar1 = __wctype_l("space",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x4000) {\n        uVar1 = __wctype_l("print",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x1000) {\n        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n  }" if (parenthesized_expression "(param_2 < 0x401)" ( (binary_expression "param_2 < 0x401" identifier < number_literal) )) (compound_statement "{\n    if (param_2 == 4) {\n      uVar1 = __wctype_l("punct",*(undefined8 *)(param_1 + 0x10));\n      return uVar1;\n    }\n    if (param_2 < 5) {\n      if (param_2 == 1) {\n        uVar1 = __wctype_l("blank",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 2) {\n        uVar1 = __wctype_l("cntrl",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_2 == 0x100) {\n        uVar1 = __wctype_l("upper",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x200) {\n        uVar1 = __wctype_l("lower",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n  }" { (if_statement "if (param_2 == 4) {\n      uVar1 = __wctype_l("punct",*(undefined8 *)(param_1 + 0x10));\n      return uVar1;\n    }" if (parenthesized_expression "(param_2 == 4)" ( (binary_expression "param_2 == 4" identifier == number_literal) )) (compound_statement "{\n      uVar1 = __wctype_l("punct",*(undefined8 *)(param_1 + 0x10));\n      return uVar1;\n    }" { (expression_statement "uVar1 = __wctype_l("punct",*(undefined8 *)(param_1 + 0x10));" (assignment_expression "uVar1 = __wctype_l("punct",*(undefined8 *)(param_1 + 0x10))" identifier = (call_expression "__wctype_l("punct",*(undefined8 *)(param_1 + 0x10))" identifier (argument_list "("punct",*(undefined8 *)(param_1 + 0x10))" ( (string_literal ""punct"" " string_content ") , (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) )))) ;) (return_statement "return uVar1;" return identifier ;) })) (if_statement "if (param_2 < 5) {\n      if (param_2 == 1) {\n        uVar1 = __wctype_l("blank",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 2) {\n        uVar1 = __wctype_l("cntrl",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_2 == 0x100) {\n        uVar1 = __wctype_l("upper",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x200) {\n        uVar1 = __wctype_l("lower",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }" if (parenthesized_expression "(param_2 < 5)" ( (binary_expression "param_2 < 5" identifier < number_literal) )) (compound_statement "{\n      if (param_2 == 1) {\n        uVar1 = __wctype_l("blank",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 2) {\n        uVar1 = __wctype_l("cntrl",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }" { (if_statement "if (param_2 == 1) {\n        uVar1 = __wctype_l("blank",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" if (parenthesized_expression "(param_2 == 1)" ( (binary_expression "param_2 == 1" identifier == number_literal) )) (compound_statement "{\n        uVar1 = __wctype_l("blank",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" { (expression_statement "uVar1 = __wctype_l("blank",*(undefined8 *)(param_1 + 0x10));" (assignment_expression "uVar1 = __wctype_l("blank",*(undefined8 *)(param_1 + 0x10))" identifier = (call_expression "__wctype_l("blank",*(undefined8 *)(param_1 + 0x10))" identifier (argument_list "("blank",*(undefined8 *)(param_1 + 0x10))" ( (string_literal ""blank"" " string_content ") , (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) )))) ;) (return_statement "return uVar1;" return identifier ;) })) (if_statement "if (param_2 == 2) {\n        uVar1 = __wctype_l("cntrl",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" if (parenthesized_expression "(param_2 == 2)" ( (binary_expression "param_2 == 2" identifier == number_literal) )) (compound_statement "{\n        uVar1 = __wctype_l("cntrl",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" { (expression_statement "uVar1 = __wctype_l("cntrl",*(undefined8 *)(param_1 + 0x10));" (assignment_expression "uVar1 = __wctype_l("cntrl",*(undefined8 *)(param_1 + 0x10))" identifier = (call_expression "__wctype_l("cntrl",*(undefined8 *)(param_1 + 0x10))" identifier (argument_list "("cntrl",*(undefined8 *)(param_1 + 0x10))" ( (string_literal ""cntrl"" " string_content ") , (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) )))) ;) (return_statement "return uVar1;" return identifier ;) })) }) (else_clause "else {\n      if (param_2 == 0x100) {\n        uVar1 = __wctype_l("upper",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x200) {\n        uVar1 = __wctype_l("lower",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }" else (compound_statement "{\n      if (param_2 == 0x100) {\n        uVar1 = __wctype_l("upper",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x200) {\n        uVar1 = __wctype_l("lower",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }" { (if_statement "if (param_2 == 0x100) {\n        uVar1 = __wctype_l("upper",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" if (parenthesized_expression "(param_2 == 0x100)" ( (binary_expression "param_2 == 0x100" identifier == number_literal) )) (compound_statement "{\n        uVar1 = __wctype_l("upper",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" { (expression_statement "uVar1 = __wctype_l("upper",*(undefined8 *)(param_1 + 0x10));" (assignment_expression "uVar1 = __wctype_l("upper",*(undefined8 *)(param_1 + 0x10))" identifier = (call_expression "__wctype_l("upper",*(undefined8 *)(param_1 + 0x10))" identifier (argument_list "("upper",*(undefined8 *)(param_1 + 0x10))" ( (string_literal ""upper"" " string_content ") , (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) )))) ;) (return_statement "return uVar1;" return identifier ;) })) (if_statement "if (param_2 == 0x200) {\n        uVar1 = __wctype_l("lower",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" if (parenthesized_expression "(param_2 == 0x200)" ( (binary_expression "param_2 == 0x200" identifier == number_literal) )) (compound_statement "{\n        uVar1 = __wctype_l("lower",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" { (expression_statement "uVar1 = __wctype_l("lower",*(undefined8 *)(param_1 + 0x10));" (assignment_expression "uVar1 = __wctype_l("lower",*(undefined8 *)(param_1 + 0x10))" identifier = (call_expression "__wctype_l("lower",*(undefined8 *)(param_1 + 0x10))" identifier (argument_list "("lower",*(undefined8 *)(param_1 + 0x10))" ( (string_literal ""lower"" " string_content ") , (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) )))) ;) (return_statement "return uVar1;" return identifier ;) })) }))) }) (else_clause "else {\n    if (param_2 == 0xc04) {\n      uVar1 = __wctype_l("graph",*(undefined8 *)(param_1 + 0x10));\n      return uVar1;\n    }\n    if (param_2 < 0xc05) {\n      if (param_2 == 0x800) {\n        uVar1 = __wctype_l("digit",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0xc00) {\n        uVar1 = __wctype_l("alnum",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_2 == 0x2000) {\n        uVar1 = __wctype_l("space",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x4000) {\n        uVar1 = __wctype_l("print",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x1000) {\n        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n  }" else (compound_statement "{\n    if (param_2 == 0xc04) {\n      uVar1 = __wctype_l("graph",*(undefined8 *)(param_1 + 0x10));\n      return uVar1;\n    }\n    if (param_2 < 0xc05) {\n      if (param_2 == 0x800) {\n        uVar1 = __wctype_l("digit",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0xc00) {\n        uVar1 = __wctype_l("alnum",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_2 == 0x2000) {\n        uVar1 = __wctype_l("space",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x4000) {\n        uVar1 = __wctype_l("print",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x1000) {\n        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n  }" { (if_statement "if (param_2 == 0xc04) {\n      uVar1 = __wctype_l("graph",*(undefined8 *)(param_1 + 0x10));\n      return uVar1;\n    }" if (parenthesized_expression "(param_2 == 0xc04)" ( (binary_expression "param_2 == 0xc04" identifier == number_literal) )) (compound_statement "{\n      uVar1 = __wctype_l("graph",*(undefined8 *)(param_1 + 0x10));\n      return uVar1;\n    }" { (expression_statement "uVar1 = __wctype_l("graph",*(undefined8 *)(param_1 + 0x10));" (assignment_expression "uVar1 = __wctype_l("graph",*(undefined8 *)(param_1 + 0x10))" identifier = (call_expression "__wctype_l("graph",*(undefined8 *)(param_1 + 0x10))" identifier (argument_list "("graph",*(undefined8 *)(param_1 + 0x10))" ( (string_literal ""graph"" " string_content ") , (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) )))) ;) (return_statement "return uVar1;" return identifier ;) })) (if_statement "if (param_2 < 0xc05) {\n      if (param_2 == 0x800) {\n        uVar1 = __wctype_l("digit",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0xc00) {\n        uVar1 = __wctype_l("alnum",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_2 == 0x2000) {\n        uVar1 = __wctype_l("space",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x4000) {\n        uVar1 = __wctype_l("print",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x1000) {\n        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }" if (parenthesized_expression "(param_2 < 0xc05)" ( (binary_expression "param_2 < 0xc05" identifier < number_literal) )) (compound_statement "{\n      if (param_2 == 0x800) {\n        uVar1 = __wctype_l("digit",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0xc00) {\n        uVar1 = __wctype_l("alnum",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }" { (if_statement "if (param_2 == 0x800) {\n        uVar1 = __wctype_l("digit",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" if (parenthesized_expression "(param_2 == 0x800)" ( (binary_expression "param_2 == 0x800" identifier == number_literal) )) (compound_statement "{\n        uVar1 = __wctype_l("digit",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" { (expression_statement "uVar1 = __wctype_l("digit",*(undefined8 *)(param_1 + 0x10));" (assignment_expression "uVar1 = __wctype_l("digit",*(undefined8 *)(param_1 + 0x10))" identifier = (call_expression "__wctype_l("digit",*(undefined8 *)(param_1 + 0x10))" identifier (argument_list "("digit",*(undefined8 *)(param_1 + 0x10))" ( (string_literal ""digit"" " string_content ") , (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) )))) ;) (return_statement "return uVar1;" return identifier ;) })) (if_statement "if (param_2 == 0xc00) {\n        uVar1 = __wctype_l("alnum",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" if (parenthesized_expression "(param_2 == 0xc00)" ( (binary_expression "param_2 == 0xc00" identifier == number_literal) )) (compound_statement "{\n        uVar1 = __wctype_l("alnum",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" { (expression_statement "uVar1 = __wctype_l("alnum",*(undefined8 *)(param_1 + 0x10));" (assignment_expression "uVar1 = __wctype_l("alnum",*(undefined8 *)(param_1 + 0x10))" identifier = (call_expression "__wctype_l("alnum",*(undefined8 *)(param_1 + 0x10))" identifier (argument_list "("alnum",*(undefined8 *)(param_1 + 0x10))" ( (string_literal ""alnum"" " string_content ") , (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) )))) ;) (return_statement "return uVar1;" return identifier ;) })) }) (else_clause "else {\n      if (param_2 == 0x2000) {\n        uVar1 = __wctype_l("space",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x4000) {\n        uVar1 = __wctype_l("print",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x1000) {\n        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }" else (compound_statement "{\n      if (param_2 == 0x2000) {\n        uVar1 = __wctype_l("space",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x4000) {\n        uVar1 = __wctype_l("print",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x1000) {\n        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }" { (if_statement "if (param_2 == 0x2000) {\n        uVar1 = __wctype_l("space",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" if (parenthesized_expression "(param_2 == 0x2000)" ( (binary_expression "param_2 == 0x2000" identifier == number_literal) )) (compound_statement "{\n        uVar1 = __wctype_l("space",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" { (expression_statement "uVar1 = __wctype_l("space",*(undefined8 *)(param_1 + 0x10));" (assignment_expression "uVar1 = __wctype_l("space",*(undefined8 *)(param_1 + 0x10))" identifier = (call_expression "__wctype_l("space",*(undefined8 *)(param_1 + 0x10))" identifier (argument_list "("space",*(undefined8 *)(param_1 + 0x10))" ( (string_literal ""space"" " string_content ") , (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) )))) ;) (return_statement "return uVar1;" return identifier ;) })) (if_statement "if (param_2 == 0x4000) {\n        uVar1 = __wctype_l("print",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" if (parenthesized_expression "(param_2 == 0x4000)" ( (binary_expression "param_2 == 0x4000" identifier == number_literal) )) (compound_statement "{\n        uVar1 = __wctype_l("print",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" { (expression_statement "uVar1 = __wctype_l("print",*(undefined8 *)(param_1 + 0x10));" (assignment_expression "uVar1 = __wctype_l("print",*(undefined8 *)(param_1 + 0x10))" identifier = (call_expression "__wctype_l("print",*(undefined8 *)(param_1 + 0x10))" identifier (argument_list "("print",*(undefined8 *)(param_1 + 0x10))" ( (string_literal ""print"" " string_content ") , (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) )))) ;) (return_statement "return uVar1;" return identifier ;) })) (if_statement "if (param_2 == 0x1000) {\n        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" if (parenthesized_expression "(param_2 == 0x1000)" ( (binary_expression "param_2 == 0x1000" identifier == number_literal) )) (compound_statement "{\n        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" { (expression_statement "uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10));" (assignment_expression "uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10))" identifier = (call_expression "__wctype_l(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10))" identifier (argument_list "(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10))" ( (pointer_expression "&DAT_00391f12" & identifier) , (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) )))) ;) (return_statement "return uVar1;" return identifier ;) })) }))) }))) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* std::ctype<wchar_t>::_M_convert_to_wmask(unsigned short) const */\n\nundefined8 __thiscall std::ctype<wchar_t>::_M_convert_to_wmask(ctype<wchar_t> *this,ushort param_1)\n\n{\n  undefined8 uVar1;\n  \n  if (param_1 == 0x400) {\n    uVar1 = __wctype_l("alpha",*(undefined8 *)(this + 0x10));\n    return uVar1;\n  }\n  if (param_1 < 0x401) {\n    if (param_1 == 4) {\n      uVar1 = __wctype_l("punct",*(undefined8 *)(this + 0x10));\n      return uVar1;\n    }\n    if (param_1 < 5) {\n      if (param_1 == 1) {\n        uVar1 = __wctype_l("blank",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n      if (param_1 == 2) {\n        uVar1 = __wctype_l("cntrl",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_1 == 0x100) {\n        uVar1 = __wctype_l("upper",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n      if (param_1 == 0x200) {\n        uVar1 = __wctype_l("lower",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n    }\n  }\n  else {\n    if (param_1 == 0xc04) {\n      uVar1 = __wctype_l("graph",*(undefined8 *)(this + 0x10));\n      return uVar1;\n    }\n    if (param_1 < 0xc05) {\n      if (param_1 == 0x800) {\n        uVar1 = __wctype_l("digit",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n      if (param_1 == 0xc00) {\n        uVar1 = __wctype_l("alnum",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_1 == 0x2000) {\n        uVar1 = __wctype_l("space",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n      if (param_1 == 0x4000) {\n        uVar1 = __wctype_l("print",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n      if (param_1 == 0x1000) {\n        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n    }\n  }\n  return 0;\n}\n\n" comment (function_definition "undefined8 __thiscall std::ctype<wchar_t>::_M_convert_to_wmask(ctype<wchar_t> *this,ushort param_1)\n\n{\n  undefined8 uVar1;\n  \n  if (param_1 == 0x400) {\n    uVar1 = __wctype_l("alpha",*(undefined8 *)(this + 0x10));\n    return uVar1;\n  }\n  if (param_1 < 0x401) {\n    if (param_1 == 4) {\n      uVar1 = __wctype_l("punct",*(undefined8 *)(this + 0x10));\n      return uVar1;\n    }\n    if (param_1 < 5) {\n      if (param_1 == 1) {\n        uVar1 = __wctype_l("blank",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n      if (param_1 == 2) {\n        uVar1 = __wctype_l("cntrl",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_1 == 0x100) {\n        uVar1 = __wctype_l("upper",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n      if (param_1 == 0x200) {\n        uVar1 = __wctype_l("lower",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n    }\n  }\n  else {\n    if (param_1 == 0xc04) {\n      uVar1 = __wctype_l("graph",*(undefined8 *)(this + 0x10));\n      return uVar1;\n    }\n    if (param_1 < 0xc05) {\n      if (param_1 == 0x800) {\n        uVar1 = __wctype_l("digit",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n      if (param_1 == 0xc00) {\n        uVar1 = __wctype_l("alnum",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_1 == 0x2000) {\n        uVar1 = __wctype_l("space",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n      if (param_1 == 0x4000) {\n        uVar1 = __wctype_l("print",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n      if (param_1 == 0x1000) {\n        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n    }\n  }\n  return 0;\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::ctype<wchar_t>::" identifier : : identifier < identifier > : :) (function_declarator "_M_convert_to_wmask(ctype<wchar_t> *this,ushort param_1)" identifier (parameter_list "(ctype<wchar_t> *this,ushort param_1)" ( (parameter_declaration "ctype<wchar_t> *this" type_identifier (ERROR "<wchar_t>" < identifier >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "ushort param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined8 uVar1;\n  \n  if (param_1 == 0x400) {\n    uVar1 = __wctype_l("alpha",*(undefined8 *)(this + 0x10));\n    return uVar1;\n  }\n  if (param_1 < 0x401) {\n    if (param_1 == 4) {\n      uVar1 = __wctype_l("punct",*(undefined8 *)(this + 0x10));\n      return uVar1;\n    }\n    if (param_1 < 5) {\n      if (param_1 == 1) {\n        uVar1 = __wctype_l("blank",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n      if (param_1 == 2) {\n        uVar1 = __wctype_l("cntrl",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_1 == 0x100) {\n        uVar1 = __wctype_l("upper",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n      if (param_1 == 0x200) {\n        uVar1 = __wctype_l("lower",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n    }\n  }\n  else {\n    if (param_1 == 0xc04) {\n      uVar1 = __wctype_l("graph",*(undefined8 *)(this + 0x10));\n      return uVar1;\n    }\n    if (param_1 < 0xc05) {\n      if (param_1 == 0x800) {\n        uVar1 = __wctype_l("digit",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n      if (param_1 == 0xc00) {\n        uVar1 = __wctype_l("alnum",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_1 == 0x2000) {\n        uVar1 = __wctype_l("space",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n      if (param_1 == 0x4000) {\n        uVar1 = __wctype_l("print",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n      if (param_1 == 0x1000) {\n        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n    }\n  }\n  return 0;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (if_statement "if (param_1 == 0x400) {\n    uVar1 = __wctype_l("alpha",*(undefined8 *)(this + 0x10));\n    return uVar1;\n  }" if (parenthesized_expression "(param_1 == 0x400)" ( (binary_expression "param_1 == 0x400" identifier == number_literal) )) (compound_statement "{\n    uVar1 = __wctype_l("alpha",*(undefined8 *)(this + 0x10));\n    return uVar1;\n  }" { (expression_statement "uVar1 = __wctype_l("alpha",*(undefined8 *)(this + 0x10));" (assignment_expression "uVar1 = __wctype_l("alpha",*(undefined8 *)(this + 0x10))" identifier = (call_expression "__wctype_l("alpha",*(undefined8 *)(this + 0x10))" identifier (argument_list "("alpha",*(undefined8 *)(this + 0x10))" ( (string_literal ""alpha"" " string_content ") , (pointer_expression "*(undefined8 *)(this + 0x10)" * (cast_expression "(undefined8 *)(this + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) )))) ;) (return_statement "return uVar1;" return identifier ;) })) (if_statement "if (param_1 < 0x401) {\n    if (param_1 == 4) {\n      uVar1 = __wctype_l("punct",*(undefined8 *)(this + 0x10));\n      return uVar1;\n    }\n    if (param_1 < 5) {\n      if (param_1 == 1) {\n        uVar1 = __wctype_l("blank",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n      if (param_1 == 2) {\n        uVar1 = __wctype_l("cntrl",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_1 == 0x100) {\n        uVar1 = __wctype_l("upper",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n      if (param_1 == 0x200) {\n        uVar1 = __wctype_l("lower",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n    }\n  }\n  else {\n    if (param_1 == 0xc04) {\n      uVar1 = __wctype_l("graph",*(undefined8 *)(this + 0x10));\n      return uVar1;\n    }\n    if (param_1 < 0xc05) {\n      if (param_1 == 0x800) {\n        uVar1 = __wctype_l("digit",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n      if (param_1 == 0xc00) {\n        uVar1 = __wctype_l("alnum",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_1 == 0x2000) {\n        uVar1 = __wctype_l("space",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n      if (param_1 == 0x4000) {\n        uVar1 = __wctype_l("print",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n      if (param_1 == 0x1000) {\n        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n    }\n  }" if (parenthesized_expression "(param_1 < 0x401)" ( (binary_expression "param_1 < 0x401" identifier < number_literal) )) (compound_statement "{\n    if (param_1 == 4) {\n      uVar1 = __wctype_l("punct",*(undefined8 *)(this + 0x10));\n      return uVar1;\n    }\n    if (param_1 < 5) {\n      if (param_1 == 1) {\n        uVar1 = __wctype_l("blank",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n      if (param_1 == 2) {\n        uVar1 = __wctype_l("cntrl",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_1 == 0x100) {\n        uVar1 = __wctype_l("upper",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n      if (param_1 == 0x200) {\n        uVar1 = __wctype_l("lower",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n    }\n  }" { (if_statement "if (param_1 == 4) {\n      uVar1 = __wctype_l("punct",*(undefined8 *)(this + 0x10));\n      return uVar1;\n    }" if (parenthesized_expression "(param_1 == 4)" ( (binary_expression "param_1 == 4" identifier == number_literal) )) (compound_statement "{\n      uVar1 = __wctype_l("punct",*(undefined8 *)(this + 0x10));\n      return uVar1;\n    }" { (expression_statement "uVar1 = __wctype_l("punct",*(undefined8 *)(this + 0x10));" (assignment_expression "uVar1 = __wctype_l("punct",*(undefined8 *)(this + 0x10))" identifier = (call_expression "__wctype_l("punct",*(undefined8 *)(this + 0x10))" identifier (argument_list "("punct",*(undefined8 *)(this + 0x10))" ( (string_literal ""punct"" " string_content ") , (pointer_expression "*(undefined8 *)(this + 0x10)" * (cast_expression "(undefined8 *)(this + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) )))) ;) (return_statement "return uVar1;" return identifier ;) })) (if_statement "if (param_1 < 5) {\n      if (param_1 == 1) {\n        uVar1 = __wctype_l("blank",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n      if (param_1 == 2) {\n        uVar1 = __wctype_l("cntrl",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_1 == 0x100) {\n        uVar1 = __wctype_l("upper",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n      if (param_1 == 0x200) {\n        uVar1 = __wctype_l("lower",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n    }" if (parenthesized_expression "(param_1 < 5)" ( (binary_expression "param_1 < 5" identifier < number_literal) )) (compound_statement "{\n      if (param_1 == 1) {\n        uVar1 = __wctype_l("blank",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n      if (param_1 == 2) {\n        uVar1 = __wctype_l("cntrl",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n    }" { (if_statement "if (param_1 == 1) {\n        uVar1 = __wctype_l("blank",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }" if (parenthesized_expression "(param_1 == 1)" ( (binary_expression "param_1 == 1" identifier == number_literal) )) (compound_statement "{\n        uVar1 = __wctype_l("blank",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }" { (expression_statement "uVar1 = __wctype_l("blank",*(undefined8 *)(this + 0x10));" (assignment_expression "uVar1 = __wctype_l("blank",*(undefined8 *)(this + 0x10))" identifier = (call_expression "__wctype_l("blank",*(undefined8 *)(this + 0x10))" identifier (argument_list "("blank",*(undefined8 *)(this + 0x10))" ( (string_literal ""blank"" " string_content ") , (pointer_expression "*(undefined8 *)(this + 0x10)" * (cast_expression "(undefined8 *)(this + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) )))) ;) (return_statement "return uVar1;" return identifier ;) })) (if_statement "if (param_1 == 2) {\n        uVar1 = __wctype_l("cntrl",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }" if (parenthesized_expression "(param_1 == 2)" ( (binary_expression "param_1 == 2" identifier == number_literal) )) (compound_statement "{\n        uVar1 = __wctype_l("cntrl",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }" { (expression_statement "uVar1 = __wctype_l("cntrl",*(undefined8 *)(this + 0x10));" (assignment_expression "uVar1 = __wctype_l("cntrl",*(undefined8 *)(this + 0x10))" identifier = (call_expression "__wctype_l("cntrl",*(undefined8 *)(this + 0x10))" identifier (argument_list "("cntrl",*(undefined8 *)(this + 0x10))" ( (string_literal ""cntrl"" " string_content ") , (pointer_expression "*(undefined8 *)(this + 0x10)" * (cast_expression "(undefined8 *)(this + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) )))) ;) (return_statement "return uVar1;" return identifier ;) })) }) (else_clause "else {\n      if (param_1 == 0x100) {\n        uVar1 = __wctype_l("upper",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n      if (param_1 == 0x200) {\n        uVar1 = __wctype_l("lower",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n    }" else (compound_statement "{\n      if (param_1 == 0x100) {\n        uVar1 = __wctype_l("upper",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n      if (param_1 == 0x200) {\n        uVar1 = __wctype_l("lower",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n    }" { (if_statement "if (param_1 == 0x100) {\n        uVar1 = __wctype_l("upper",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }" if (parenthesized_expression "(param_1 == 0x100)" ( (binary_expression "param_1 == 0x100" identifier == number_literal) )) (compound_statement "{\n        uVar1 = __wctype_l("upper",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }" { (expression_statement "uVar1 = __wctype_l("upper",*(undefined8 *)(this + 0x10));" (assignment_expression "uVar1 = __wctype_l("upper",*(undefined8 *)(this + 0x10))" identifier = (call_expression "__wctype_l("upper",*(undefined8 *)(this + 0x10))" identifier (argument_list "("upper",*(undefined8 *)(this + 0x10))" ( (string_literal ""upper"" " string_content ") , (pointer_expression "*(undefined8 *)(this + 0x10)" * (cast_expression "(undefined8 *)(this + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) )))) ;) (return_statement "return uVar1;" return identifier ;) })) (if_statement "if (param_1 == 0x200) {\n        uVar1 = __wctype_l("lower",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }" if (parenthesized_expression "(param_1 == 0x200)" ( (binary_expression "param_1 == 0x200" identifier == number_literal) )) (compound_statement "{\n        uVar1 = __wctype_l("lower",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }" { (expression_statement "uVar1 = __wctype_l("lower",*(undefined8 *)(this + 0x10));" (assignment_expression "uVar1 = __wctype_l("lower",*(undefined8 *)(this + 0x10))" identifier = (call_expression "__wctype_l("lower",*(undefined8 *)(this + 0x10))" identifier (argument_list "("lower",*(undefined8 *)(this + 0x10))" ( (string_literal ""lower"" " string_content ") , (pointer_expression "*(undefined8 *)(this + 0x10)" * (cast_expression "(undefined8 *)(this + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) )))) ;) (return_statement "return uVar1;" return identifier ;) })) }))) }) (else_clause "else {\n    if (param_1 == 0xc04) {\n      uVar1 = __wctype_l("graph",*(undefined8 *)(this + 0x10));\n      return uVar1;\n    }\n    if (param_1 < 0xc05) {\n      if (param_1 == 0x800) {\n        uVar1 = __wctype_l("digit",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n      if (param_1 == 0xc00) {\n        uVar1 = __wctype_l("alnum",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_1 == 0x2000) {\n        uVar1 = __wctype_l("space",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n      if (param_1 == 0x4000) {\n        uVar1 = __wctype_l("print",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n      if (param_1 == 0x1000) {\n        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n    }\n  }" else (compound_statement "{\n    if (param_1 == 0xc04) {\n      uVar1 = __wctype_l("graph",*(undefined8 *)(this + 0x10));\n      return uVar1;\n    }\n    if (param_1 < 0xc05) {\n      if (param_1 == 0x800) {\n        uVar1 = __wctype_l("digit",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n      if (param_1 == 0xc00) {\n        uVar1 = __wctype_l("alnum",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_1 == 0x2000) {\n        uVar1 = __wctype_l("space",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n      if (param_1 == 0x4000) {\n        uVar1 = __wctype_l("print",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n      if (param_1 == 0x1000) {\n        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n    }\n  }" { (if_statement "if (param_1 == 0xc04) {\n      uVar1 = __wctype_l("graph",*(undefined8 *)(this + 0x10));\n      return uVar1;\n    }" if (parenthesized_expression "(param_1 == 0xc04)" ( (binary_expression "param_1 == 0xc04" identifier == number_literal) )) (compound_statement "{\n      uVar1 = __wctype_l("graph",*(undefined8 *)(this + 0x10));\n      return uVar1;\n    }" { (expression_statement "uVar1 = __wctype_l("graph",*(undefined8 *)(this + 0x10));" (assignment_expression "uVar1 = __wctype_l("graph",*(undefined8 *)(this + 0x10))" identifier = (call_expression "__wctype_l("graph",*(undefined8 *)(this + 0x10))" identifier (argument_list "("graph",*(undefined8 *)(this + 0x10))" ( (string_literal ""graph"" " string_content ") , (pointer_expression "*(undefined8 *)(this + 0x10)" * (cast_expression "(undefined8 *)(this + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) )))) ;) (return_statement "return uVar1;" return identifier ;) })) (if_statement "if (param_1 < 0xc05) {\n      if (param_1 == 0x800) {\n        uVar1 = __wctype_l("digit",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n      if (param_1 == 0xc00) {\n        uVar1 = __wctype_l("alnum",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_1 == 0x2000) {\n        uVar1 = __wctype_l("space",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n      if (param_1 == 0x4000) {\n        uVar1 = __wctype_l("print",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n      if (param_1 == 0x1000) {\n        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n    }" if (parenthesized_expression "(param_1 < 0xc05)" ( (binary_expression "param_1 < 0xc05" identifier < number_literal) )) (compound_statement "{\n      if (param_1 == 0x800) {\n        uVar1 = __wctype_l("digit",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n      if (param_1 == 0xc00) {\n        uVar1 = __wctype_l("alnum",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n    }" { (if_statement "if (param_1 == 0x800) {\n        uVar1 = __wctype_l("digit",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }" if (parenthesized_expression "(param_1 == 0x800)" ( (binary_expression "param_1 == 0x800" identifier == number_literal) )) (compound_statement "{\n        uVar1 = __wctype_l("digit",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }" { (expression_statement "uVar1 = __wctype_l("digit",*(undefined8 *)(this + 0x10));" (assignment_expression "uVar1 = __wctype_l("digit",*(undefined8 *)(this + 0x10))" identifier = (call_expression "__wctype_l("digit",*(undefined8 *)(this + 0x10))" identifier (argument_list "("digit",*(undefined8 *)(this + 0x10))" ( (string_literal ""digit"" " string_content ") , (pointer_expression "*(undefined8 *)(this + 0x10)" * (cast_expression "(undefined8 *)(this + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) )))) ;) (return_statement "return uVar1;" return identifier ;) })) (if_statement "if (param_1 == 0xc00) {\n        uVar1 = __wctype_l("alnum",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }" if (parenthesized_expression "(param_1 == 0xc00)" ( (binary_expression "param_1 == 0xc00" identifier == number_literal) )) (compound_statement "{\n        uVar1 = __wctype_l("alnum",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }" { (expression_statement "uVar1 = __wctype_l("alnum",*(undefined8 *)(this + 0x10));" (assignment_expression "uVar1 = __wctype_l("alnum",*(undefined8 *)(this + 0x10))" identifier = (call_expression "__wctype_l("alnum",*(undefined8 *)(this + 0x10))" identifier (argument_list "("alnum",*(undefined8 *)(this + 0x10))" ( (string_literal ""alnum"" " string_content ") , (pointer_expression "*(undefined8 *)(this + 0x10)" * (cast_expression "(undefined8 *)(this + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) )))) ;) (return_statement "return uVar1;" return identifier ;) })) }) (else_clause "else {\n      if (param_1 == 0x2000) {\n        uVar1 = __wctype_l("space",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n      if (param_1 == 0x4000) {\n        uVar1 = __wctype_l("print",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n      if (param_1 == 0x1000) {\n        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n    }" else (compound_statement "{\n      if (param_1 == 0x2000) {\n        uVar1 = __wctype_l("space",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n      if (param_1 == 0x4000) {\n        uVar1 = __wctype_l("print",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n      if (param_1 == 0x1000) {\n        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }\n    }" { (if_statement "if (param_1 == 0x2000) {\n        uVar1 = __wctype_l("space",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }" if (parenthesized_expression "(param_1 == 0x2000)" ( (binary_expression "param_1 == 0x2000" identifier == number_literal) )) (compound_statement "{\n        uVar1 = __wctype_l("space",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }" { (expression_statement "uVar1 = __wctype_l("space",*(undefined8 *)(this + 0x10));" (assignment_expression "uVar1 = __wctype_l("space",*(undefined8 *)(this + 0x10))" identifier = (call_expression "__wctype_l("space",*(undefined8 *)(this + 0x10))" identifier (argument_list "("space",*(undefined8 *)(this + 0x10))" ( (string_literal ""space"" " string_content ") , (pointer_expression "*(undefined8 *)(this + 0x10)" * (cast_expression "(undefined8 *)(this + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) )))) ;) (return_statement "return uVar1;" return identifier ;) })) (if_statement "if (param_1 == 0x4000) {\n        uVar1 = __wctype_l("print",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }" if (parenthesized_expression "(param_1 == 0x4000)" ( (binary_expression "param_1 == 0x4000" identifier == number_literal) )) (compound_statement "{\n        uVar1 = __wctype_l("print",*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }" { (expression_statement "uVar1 = __wctype_l("print",*(undefined8 *)(this + 0x10));" (assignment_expression "uVar1 = __wctype_l("print",*(undefined8 *)(this + 0x10))" identifier = (call_expression "__wctype_l("print",*(undefined8 *)(this + 0x10))" identifier (argument_list "("print",*(undefined8 *)(this + 0x10))" ( (string_literal ""print"" " string_content ") , (pointer_expression "*(undefined8 *)(this + 0x10)" * (cast_expression "(undefined8 *)(this + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) )))) ;) (return_statement "return uVar1;" return identifier ;) })) (if_statement "if (param_1 == 0x1000) {\n        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }" if (parenthesized_expression "(param_1 == 0x1000)" ( (binary_expression "param_1 == 0x1000" identifier == number_literal) )) (compound_statement "{\n        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(this + 0x10));\n        return uVar1;\n      }" { (expression_statement "uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(this + 0x10));" (assignment_expression "uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(this + 0x10))" identifier = (call_expression "__wctype_l(&DAT_00391f12,*(undefined8 *)(this + 0x10))" identifier (argument_list "(&DAT_00391f12,*(undefined8 *)(this + 0x10))" ( (pointer_expression "&DAT_00391f12" & identifier) , (pointer_expression "*(undefined8 *)(this + 0x10)" * (cast_expression "(undefined8 *)(this + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) )))) ;) (return_statement "return uVar1;" return identifier ;) })) }))) }))) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined8 FUN_0030f940(long param_1,ushort param_2)\n\n{\n  undefined8 uVar1;\n  \n  if (param_2 == 0x400) {\n    uVar1 = __wctype_l("alpha",*(undefined8 *)(param_1 + 0x10));\n    return uVar1;\n  }\n  if (param_2 < 0x401) {\n    if (param_2 == 4) {\n      uVar1 = __wctype_l("punct",*(undefined8 *)(param_1 + 0x10));\n      return uVar1;\n    }\n    if (param_2 < 5) {\n      if (param_2 == 1) {\n        uVar1 = __wctype_l("blank",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 2) {\n        uVar1 = __wctype_l("cntrl",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_2 == 0x100) {\n        uVar1 = __wctype_l("upper",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x200) {\n        uVar1 = __wctype_l("lower",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n  }\n  else {\n    if (param_2 == 0xc04) {\n      uVar1 = __wctype_l("graph",*(undefined8 *)(param_1 + 0x10));\n      return uVar1;\n    }\n    if (param_2 < 0xc05) {\n      if (param_2 == 0x800) {\n        uVar1 = __wctype_l("digit",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0xc00) {\n        uVar1 = __wctype_l("alnum",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_2 == 0x2000) {\n        uVar1 = __wctype_l("space",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x4000) {\n        uVar1 = __wctype_l("print",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x1000) {\n        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n  }\n  return 0;\n}\n\n" (function_definition "undefined8 FUN_0030f940(long param_1,ushort param_2)\n\n{\n  undefined8 uVar1;\n  \n  if (param_2 == 0x400) {\n    uVar1 = __wctype_l("alpha",*(undefined8 *)(param_1 + 0x10));\n    return uVar1;\n  }\n  if (param_2 < 0x401) {\n    if (param_2 == 4) {\n      uVar1 = __wctype_l("punct",*(undefined8 *)(param_1 + 0x10));\n      return uVar1;\n    }\n    if (param_2 < 5) {\n      if (param_2 == 1) {\n        uVar1 = __wctype_l("blank",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 2) {\n        uVar1 = __wctype_l("cntrl",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_2 == 0x100) {\n        uVar1 = __wctype_l("upper",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x200) {\n        uVar1 = __wctype_l("lower",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n  }\n  else {\n    if (param_2 == 0xc04) {\n      uVar1 = __wctype_l("graph",*(undefined8 *)(param_1 + 0x10));\n      return uVar1;\n    }\n    if (param_2 < 0xc05) {\n      if (param_2 == 0x800) {\n        uVar1 = __wctype_l("digit",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0xc00) {\n        uVar1 = __wctype_l("alnum",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_2 == 0x2000) {\n        uVar1 = __wctype_l("space",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x4000) {\n        uVar1 = __wctype_l("print",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x1000) {\n        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0030f940(long param_1,ushort param_2)" identifier (parameter_list "(long param_1,ushort param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "ushort param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined8 uVar1;\n  \n  if (param_2 == 0x400) {\n    uVar1 = __wctype_l("alpha",*(undefined8 *)(param_1 + 0x10));\n    return uVar1;\n  }\n  if (param_2 < 0x401) {\n    if (param_2 == 4) {\n      uVar1 = __wctype_l("punct",*(undefined8 *)(param_1 + 0x10));\n      return uVar1;\n    }\n    if (param_2 < 5) {\n      if (param_2 == 1) {\n        uVar1 = __wctype_l("blank",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 2) {\n        uVar1 = __wctype_l("cntrl",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_2 == 0x100) {\n        uVar1 = __wctype_l("upper",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x200) {\n        uVar1 = __wctype_l("lower",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n  }\n  else {\n    if (param_2 == 0xc04) {\n      uVar1 = __wctype_l("graph",*(undefined8 *)(param_1 + 0x10));\n      return uVar1;\n    }\n    if (param_2 < 0xc05) {\n      if (param_2 == 0x800) {\n        uVar1 = __wctype_l("digit",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0xc00) {\n        uVar1 = __wctype_l("alnum",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_2 == 0x2000) {\n        uVar1 = __wctype_l("space",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x4000) {\n        uVar1 = __wctype_l("print",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x1000) {\n        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n  }\n  return 0;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (if_statement "if (param_2 == 0x400) {\n    uVar1 = __wctype_l("alpha",*(undefined8 *)(param_1 + 0x10));\n    return uVar1;\n  }" if (parenthesized_expression "(param_2 == 0x400)" ( (binary_expression "param_2 == 0x400" identifier == number_literal) )) (compound_statement "{\n    uVar1 = __wctype_l("alpha",*(undefined8 *)(param_1 + 0x10));\n    return uVar1;\n  }" { (expression_statement "uVar1 = __wctype_l("alpha",*(undefined8 *)(param_1 + 0x10));" (assignment_expression "uVar1 = __wctype_l("alpha",*(undefined8 *)(param_1 + 0x10))" identifier = (call_expression "__wctype_l("alpha",*(undefined8 *)(param_1 + 0x10))" identifier (argument_list "("alpha",*(undefined8 *)(param_1 + 0x10))" ( (string_literal ""alpha"" " string_content ") , (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) )))) ;) (return_statement "return uVar1;" return identifier ;) })) (if_statement "if (param_2 < 0x401) {\n    if (param_2 == 4) {\n      uVar1 = __wctype_l("punct",*(undefined8 *)(param_1 + 0x10));\n      return uVar1;\n    }\n    if (param_2 < 5) {\n      if (param_2 == 1) {\n        uVar1 = __wctype_l("blank",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 2) {\n        uVar1 = __wctype_l("cntrl",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_2 == 0x100) {\n        uVar1 = __wctype_l("upper",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x200) {\n        uVar1 = __wctype_l("lower",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n  }\n  else {\n    if (param_2 == 0xc04) {\n      uVar1 = __wctype_l("graph",*(undefined8 *)(param_1 + 0x10));\n      return uVar1;\n    }\n    if (param_2 < 0xc05) {\n      if (param_2 == 0x800) {\n        uVar1 = __wctype_l("digit",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0xc00) {\n        uVar1 = __wctype_l("alnum",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_2 == 0x2000) {\n        uVar1 = __wctype_l("space",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x4000) {\n        uVar1 = __wctype_l("print",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x1000) {\n        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n  }" if (parenthesized_expression "(param_2 < 0x401)" ( (binary_expression "param_2 < 0x401" identifier < number_literal) )) (compound_statement "{\n    if (param_2 == 4) {\n      uVar1 = __wctype_l("punct",*(undefined8 *)(param_1 + 0x10));\n      return uVar1;\n    }\n    if (param_2 < 5) {\n      if (param_2 == 1) {\n        uVar1 = __wctype_l("blank",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 2) {\n        uVar1 = __wctype_l("cntrl",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_2 == 0x100) {\n        uVar1 = __wctype_l("upper",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x200) {\n        uVar1 = __wctype_l("lower",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n  }" { (if_statement "if (param_2 == 4) {\n      uVar1 = __wctype_l("punct",*(undefined8 *)(param_1 + 0x10));\n      return uVar1;\n    }" if (parenthesized_expression "(param_2 == 4)" ( (binary_expression "param_2 == 4" identifier == number_literal) )) (compound_statement "{\n      uVar1 = __wctype_l("punct",*(undefined8 *)(param_1 + 0x10));\n      return uVar1;\n    }" { (expression_statement "uVar1 = __wctype_l("punct",*(undefined8 *)(param_1 + 0x10));" (assignment_expression "uVar1 = __wctype_l("punct",*(undefined8 *)(param_1 + 0x10))" identifier = (call_expression "__wctype_l("punct",*(undefined8 *)(param_1 + 0x10))" identifier (argument_list "("punct",*(undefined8 *)(param_1 + 0x10))" ( (string_literal ""punct"" " string_content ") , (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) )))) ;) (return_statement "return uVar1;" return identifier ;) })) (if_statement "if (param_2 < 5) {\n      if (param_2 == 1) {\n        uVar1 = __wctype_l("blank",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 2) {\n        uVar1 = __wctype_l("cntrl",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_2 == 0x100) {\n        uVar1 = __wctype_l("upper",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x200) {\n        uVar1 = __wctype_l("lower",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }" if (parenthesized_expression "(param_2 < 5)" ( (binary_expression "param_2 < 5" identifier < number_literal) )) (compound_statement "{\n      if (param_2 == 1) {\n        uVar1 = __wctype_l("blank",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 2) {\n        uVar1 = __wctype_l("cntrl",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }" { (if_statement "if (param_2 == 1) {\n        uVar1 = __wctype_l("blank",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" if (parenthesized_expression "(param_2 == 1)" ( (binary_expression "param_2 == 1" identifier == number_literal) )) (compound_statement "{\n        uVar1 = __wctype_l("blank",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" { (expression_statement "uVar1 = __wctype_l("blank",*(undefined8 *)(param_1 + 0x10));" (assignment_expression "uVar1 = __wctype_l("blank",*(undefined8 *)(param_1 + 0x10))" identifier = (call_expression "__wctype_l("blank",*(undefined8 *)(param_1 + 0x10))" identifier (argument_list "("blank",*(undefined8 *)(param_1 + 0x10))" ( (string_literal ""blank"" " string_content ") , (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) )))) ;) (return_statement "return uVar1;" return identifier ;) })) (if_statement "if (param_2 == 2) {\n        uVar1 = __wctype_l("cntrl",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" if (parenthesized_expression "(param_2 == 2)" ( (binary_expression "param_2 == 2" identifier == number_literal) )) (compound_statement "{\n        uVar1 = __wctype_l("cntrl",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" { (expression_statement "uVar1 = __wctype_l("cntrl",*(undefined8 *)(param_1 + 0x10));" (assignment_expression "uVar1 = __wctype_l("cntrl",*(undefined8 *)(param_1 + 0x10))" identifier = (call_expression "__wctype_l("cntrl",*(undefined8 *)(param_1 + 0x10))" identifier (argument_list "("cntrl",*(undefined8 *)(param_1 + 0x10))" ( (string_literal ""cntrl"" " string_content ") , (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) )))) ;) (return_statement "return uVar1;" return identifier ;) })) }) (else_clause "else {\n      if (param_2 == 0x100) {\n        uVar1 = __wctype_l("upper",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x200) {\n        uVar1 = __wctype_l("lower",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }" else (compound_statement "{\n      if (param_2 == 0x100) {\n        uVar1 = __wctype_l("upper",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x200) {\n        uVar1 = __wctype_l("lower",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }" { (if_statement "if (param_2 == 0x100) {\n        uVar1 = __wctype_l("upper",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" if (parenthesized_expression "(param_2 == 0x100)" ( (binary_expression "param_2 == 0x100" identifier == number_literal) )) (compound_statement "{\n        uVar1 = __wctype_l("upper",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" { (expression_statement "uVar1 = __wctype_l("upper",*(undefined8 *)(param_1 + 0x10));" (assignment_expression "uVar1 = __wctype_l("upper",*(undefined8 *)(param_1 + 0x10))" identifier = (call_expression "__wctype_l("upper",*(undefined8 *)(param_1 + 0x10))" identifier (argument_list "("upper",*(undefined8 *)(param_1 + 0x10))" ( (string_literal ""upper"" " string_content ") , (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) )))) ;) (return_statement "return uVar1;" return identifier ;) })) (if_statement "if (param_2 == 0x200) {\n        uVar1 = __wctype_l("lower",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" if (parenthesized_expression "(param_2 == 0x200)" ( (binary_expression "param_2 == 0x200" identifier == number_literal) )) (compound_statement "{\n        uVar1 = __wctype_l("lower",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" { (expression_statement "uVar1 = __wctype_l("lower",*(undefined8 *)(param_1 + 0x10));" (assignment_expression "uVar1 = __wctype_l("lower",*(undefined8 *)(param_1 + 0x10))" identifier = (call_expression "__wctype_l("lower",*(undefined8 *)(param_1 + 0x10))" identifier (argument_list "("lower",*(undefined8 *)(param_1 + 0x10))" ( (string_literal ""lower"" " string_content ") , (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) )))) ;) (return_statement "return uVar1;" return identifier ;) })) }))) }) (else_clause "else {\n    if (param_2 == 0xc04) {\n      uVar1 = __wctype_l("graph",*(undefined8 *)(param_1 + 0x10));\n      return uVar1;\n    }\n    if (param_2 < 0xc05) {\n      if (param_2 == 0x800) {\n        uVar1 = __wctype_l("digit",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0xc00) {\n        uVar1 = __wctype_l("alnum",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_2 == 0x2000) {\n        uVar1 = __wctype_l("space",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x4000) {\n        uVar1 = __wctype_l("print",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x1000) {\n        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n  }" else (compound_statement "{\n    if (param_2 == 0xc04) {\n      uVar1 = __wctype_l("graph",*(undefined8 *)(param_1 + 0x10));\n      return uVar1;\n    }\n    if (param_2 < 0xc05) {\n      if (param_2 == 0x800) {\n        uVar1 = __wctype_l("digit",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0xc00) {\n        uVar1 = __wctype_l("alnum",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_2 == 0x2000) {\n        uVar1 = __wctype_l("space",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x4000) {\n        uVar1 = __wctype_l("print",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x1000) {\n        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n  }" { (if_statement "if (param_2 == 0xc04) {\n      uVar1 = __wctype_l("graph",*(undefined8 *)(param_1 + 0x10));\n      return uVar1;\n    }" if (parenthesized_expression "(param_2 == 0xc04)" ( (binary_expression "param_2 == 0xc04" identifier == number_literal) )) (compound_statement "{\n      uVar1 = __wctype_l("graph",*(undefined8 *)(param_1 + 0x10));\n      return uVar1;\n    }" { (expression_statement "uVar1 = __wctype_l("graph",*(undefined8 *)(param_1 + 0x10));" (assignment_expression "uVar1 = __wctype_l("graph",*(undefined8 *)(param_1 + 0x10))" identifier = (call_expression "__wctype_l("graph",*(undefined8 *)(param_1 + 0x10))" identifier (argument_list "("graph",*(undefined8 *)(param_1 + 0x10))" ( (string_literal ""graph"" " string_content ") , (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) )))) ;) (return_statement "return uVar1;" return identifier ;) })) (if_statement "if (param_2 < 0xc05) {\n      if (param_2 == 0x800) {\n        uVar1 = __wctype_l("digit",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0xc00) {\n        uVar1 = __wctype_l("alnum",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_2 == 0x2000) {\n        uVar1 = __wctype_l("space",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x4000) {\n        uVar1 = __wctype_l("print",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x1000) {\n        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }" if (parenthesized_expression "(param_2 < 0xc05)" ( (binary_expression "param_2 < 0xc05" identifier < number_literal) )) (compound_statement "{\n      if (param_2 == 0x800) {\n        uVar1 = __wctype_l("digit",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0xc00) {\n        uVar1 = __wctype_l("alnum",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }" { (if_statement "if (param_2 == 0x800) {\n        uVar1 = __wctype_l("digit",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" if (parenthesized_expression "(param_2 == 0x800)" ( (binary_expression "param_2 == 0x800" identifier == number_literal) )) (compound_statement "{\n        uVar1 = __wctype_l("digit",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" { (expression_statement "uVar1 = __wctype_l("digit",*(undefined8 *)(param_1 + 0x10));" (assignment_expression "uVar1 = __wctype_l("digit",*(undefined8 *)(param_1 + 0x10))" identifier = (call_expression "__wctype_l("digit",*(undefined8 *)(param_1 + 0x10))" identifier (argument_list "("digit",*(undefined8 *)(param_1 + 0x10))" ( (string_literal ""digit"" " string_content ") , (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) )))) ;) (return_statement "return uVar1;" return identifier ;) })) (if_statement "if (param_2 == 0xc00) {\n        uVar1 = __wctype_l("alnum",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" if (parenthesized_expression "(param_2 == 0xc00)" ( (binary_expression "param_2 == 0xc00" identifier == number_literal) )) (compound_statement "{\n        uVar1 = __wctype_l("alnum",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" { (expression_statement "uVar1 = __wctype_l("alnum",*(undefined8 *)(param_1 + 0x10));" (assignment_expression "uVar1 = __wctype_l("alnum",*(undefined8 *)(param_1 + 0x10))" identifier = (call_expression "__wctype_l("alnum",*(undefined8 *)(param_1 + 0x10))" identifier (argument_list "("alnum",*(undefined8 *)(param_1 + 0x10))" ( (string_literal ""alnum"" " string_content ") , (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) )))) ;) (return_statement "return uVar1;" return identifier ;) })) }) (else_clause "else {\n      if (param_2 == 0x2000) {\n        uVar1 = __wctype_l("space",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x4000) {\n        uVar1 = __wctype_l("print",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x1000) {\n        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }" else (compound_statement "{\n      if (param_2 == 0x2000) {\n        uVar1 = __wctype_l("space",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x4000) {\n        uVar1 = __wctype_l("print",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x1000) {\n        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }" { (if_statement "if (param_2 == 0x2000) {\n        uVar1 = __wctype_l("space",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" if (parenthesized_expression "(param_2 == 0x2000)" ( (binary_expression "param_2 == 0x2000" identifier == number_literal) )) (compound_statement "{\n        uVar1 = __wctype_l("space",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" { (expression_statement "uVar1 = __wctype_l("space",*(undefined8 *)(param_1 + 0x10));" (assignment_expression "uVar1 = __wctype_l("space",*(undefined8 *)(param_1 + 0x10))" identifier = (call_expression "__wctype_l("space",*(undefined8 *)(param_1 + 0x10))" identifier (argument_list "("space",*(undefined8 *)(param_1 + 0x10))" ( (string_literal ""space"" " string_content ") , (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) )))) ;) (return_statement "return uVar1;" return identifier ;) })) (if_statement "if (param_2 == 0x4000) {\n        uVar1 = __wctype_l("print",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" if (parenthesized_expression "(param_2 == 0x4000)" ( (binary_expression "param_2 == 0x4000" identifier == number_literal) )) (compound_statement "{\n        uVar1 = __wctype_l("print",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" { (expression_statement "uVar1 = __wctype_l("print",*(undefined8 *)(param_1 + 0x10));" (assignment_expression "uVar1 = __wctype_l("print",*(undefined8 *)(param_1 + 0x10))" identifier = (call_expression "__wctype_l("print",*(undefined8 *)(param_1 + 0x10))" identifier (argument_list "("print",*(undefined8 *)(param_1 + 0x10))" ( (string_literal ""print"" " string_content ") , (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) )))) ;) (return_statement "return uVar1;" return identifier ;) })) (if_statement "if (param_2 == 0x1000) {\n        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" if (parenthesized_expression "(param_2 == 0x1000)" ( (binary_expression "param_2 == 0x1000" identifier == number_literal) )) (compound_statement "{\n        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" { (expression_statement "uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10));" (assignment_expression "uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10))" identifier = (call_expression "__wctype_l(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10))" identifier (argument_list "(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10))" ( (pointer_expression "&DAT_00391f12" & identifier) , (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) )))) ;) (return_statement "return uVar1;" return identifier ;) })) }))) }))) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (return_statement return IDENT ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (return_statement return IDENT ;) })) }))) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (return_statement return IDENT ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (return_statement return IDENT ;) })) }))) }))) (return_statement return LIT ;) })))
(function_definition "undefined8 FUN_0030f940(long param_1,ushort param_2)\n\n{\n  undefined8 uVar1;\n  \n  if (param_2 == 0x400) {\n    uVar1 = __wctype_l("alpha",*(undefined8 *)(param_1 + 0x10));\n    return uVar1;\n  }\n  if (param_2 < 0x401) {\n    if (param_2 == 4) {\n      uVar1 = __wctype_l("punct",*(undefined8 *)(param_1 + 0x10));\n      return uVar1;\n    }\n    if (param_2 < 5) {\n      if (param_2 == 1) {\n        uVar1 = __wctype_l("blank",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 2) {\n        uVar1 = __wctype_l("cntrl",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_2 == 0x100) {\n        uVar1 = __wctype_l("upper",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x200) {\n        uVar1 = __wctype_l("lower",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n  }\n  else {\n    if (param_2 == 0xc04) {\n      uVar1 = __wctype_l("graph",*(undefined8 *)(param_1 + 0x10));\n      return uVar1;\n    }\n    if (param_2 < 0xc05) {\n      if (param_2 == 0x800) {\n        uVar1 = __wctype_l("digit",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0xc00) {\n        uVar1 = __wctype_l("alnum",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_2 == 0x2000) {\n        uVar1 = __wctype_l("space",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x4000) {\n        uVar1 = __wctype_l("print",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x1000) {\n        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n  }\n  return 0;\n}" (type_identifier "undefined8") (function_declarator "FUN_0030f940(long param_1,ushort param_2)" (identifier "FUN_0030f940") (parameter_list "(long param_1,ushort param_2)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "ushort param_2" (type_identifier "ushort") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined8 uVar1;\n  \n  if (param_2 == 0x400) {\n    uVar1 = __wctype_l("alpha",*(undefined8 *)(param_1 + 0x10));\n    return uVar1;\n  }\n  if (param_2 < 0x401) {\n    if (param_2 == 4) {\n      uVar1 = __wctype_l("punct",*(undefined8 *)(param_1 + 0x10));\n      return uVar1;\n    }\n    if (param_2 < 5) {\n      if (param_2 == 1) {\n        uVar1 = __wctype_l("blank",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 2) {\n        uVar1 = __wctype_l("cntrl",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_2 == 0x100) {\n        uVar1 = __wctype_l("upper",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x200) {\n        uVar1 = __wctype_l("lower",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n  }\n  else {\n    if (param_2 == 0xc04) {\n      uVar1 = __wctype_l("graph",*(undefined8 *)(param_1 + 0x10));\n      return uVar1;\n    }\n    if (param_2 < 0xc05) {\n      if (param_2 == 0x800) {\n        uVar1 = __wctype_l("digit",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0xc00) {\n        uVar1 = __wctype_l("alnum",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_2 == 0x2000) {\n        uVar1 = __wctype_l("space",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x4000) {\n        uVar1 = __wctype_l("print",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x1000) {\n        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n  }\n  return 0;\n}" ({ "{") (declaration "undefined8 uVar1;" (type_identifier "undefined8") (identifier "uVar1") (; ";")) (if_statement "if (param_2 == 0x400) {\n    uVar1 = __wctype_l("alpha",*(undefined8 *)(param_1 + 0x10));\n    return uVar1;\n  }" (if "if") (parenthesized_expression "(param_2 == 0x400)" (( "(") (binary_expression "param_2 == 0x400" (identifier "param_2") (== "==") (number_literal "0x400")) () ")")) (compound_statement "{\n    uVar1 = __wctype_l("alpha",*(undefined8 *)(param_1 + 0x10));\n    return uVar1;\n  }" ({ "{") (expression_statement "uVar1 = __wctype_l("alpha",*(undefined8 *)(param_1 + 0x10));" (assignment_expression "uVar1 = __wctype_l("alpha",*(undefined8 *)(param_1 + 0x10))" (identifier "uVar1") (= "=") (call_expression "__wctype_l("alpha",*(undefined8 *)(param_1 + 0x10))" (identifier "__wctype_l") (argument_list "("alpha",*(undefined8 *)(param_1 + 0x10))" (( "(") (string_literal ""alpha"" (" """) (string_content "alpha") (" """)) (, ",") (pointer_expression "*(undefined8 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (if_statement "if (param_2 < 0x401) {\n    if (param_2 == 4) {\n      uVar1 = __wctype_l("punct",*(undefined8 *)(param_1 + 0x10));\n      return uVar1;\n    }\n    if (param_2 < 5) {\n      if (param_2 == 1) {\n        uVar1 = __wctype_l("blank",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 2) {\n        uVar1 = __wctype_l("cntrl",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_2 == 0x100) {\n        uVar1 = __wctype_l("upper",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x200) {\n        uVar1 = __wctype_l("lower",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n  }\n  else {\n    if (param_2 == 0xc04) {\n      uVar1 = __wctype_l("graph",*(undefined8 *)(param_1 + 0x10));\n      return uVar1;\n    }\n    if (param_2 < 0xc05) {\n      if (param_2 == 0x800) {\n        uVar1 = __wctype_l("digit",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0xc00) {\n        uVar1 = __wctype_l("alnum",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_2 == 0x2000) {\n        uVar1 = __wctype_l("space",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x4000) {\n        uVar1 = __wctype_l("print",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x1000) {\n        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(param_2 < 0x401)" (( "(") (binary_expression "param_2 < 0x401" (identifier "param_2") (< "<") (number_literal "0x401")) () ")")) (compound_statement "{\n    if (param_2 == 4) {\n      uVar1 = __wctype_l("punct",*(undefined8 *)(param_1 + 0x10));\n      return uVar1;\n    }\n    if (param_2 < 5) {\n      if (param_2 == 1) {\n        uVar1 = __wctype_l("blank",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 2) {\n        uVar1 = __wctype_l("cntrl",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_2 == 0x100) {\n        uVar1 = __wctype_l("upper",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x200) {\n        uVar1 = __wctype_l("lower",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n  }" ({ "{") (if_statement "if (param_2 == 4) {\n      uVar1 = __wctype_l("punct",*(undefined8 *)(param_1 + 0x10));\n      return uVar1;\n    }" (if "if") (parenthesized_expression "(param_2 == 4)" (( "(") (binary_expression "param_2 == 4" (identifier "param_2") (== "==") (number_literal "4")) () ")")) (compound_statement "{\n      uVar1 = __wctype_l("punct",*(undefined8 *)(param_1 + 0x10));\n      return uVar1;\n    }" ({ "{") (expression_statement "uVar1 = __wctype_l("punct",*(undefined8 *)(param_1 + 0x10));" (assignment_expression "uVar1 = __wctype_l("punct",*(undefined8 *)(param_1 + 0x10))" (identifier "uVar1") (= "=") (call_expression "__wctype_l("punct",*(undefined8 *)(param_1 + 0x10))" (identifier "__wctype_l") (argument_list "("punct",*(undefined8 *)(param_1 + 0x10))" (( "(") (string_literal ""punct"" (" """) (string_content "punct") (" """)) (, ",") (pointer_expression "*(undefined8 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (if_statement "if (param_2 < 5) {\n      if (param_2 == 1) {\n        uVar1 = __wctype_l("blank",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 2) {\n        uVar1 = __wctype_l("cntrl",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_2 == 0x100) {\n        uVar1 = __wctype_l("upper",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x200) {\n        uVar1 = __wctype_l("lower",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }" (if "if") (parenthesized_expression "(param_2 < 5)" (( "(") (binary_expression "param_2 < 5" (identifier "param_2") (< "<") (number_literal "5")) () ")")) (compound_statement "{\n      if (param_2 == 1) {\n        uVar1 = __wctype_l("blank",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 2) {\n        uVar1 = __wctype_l("cntrl",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }" ({ "{") (if_statement "if (param_2 == 1) {\n        uVar1 = __wctype_l("blank",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" (if "if") (parenthesized_expression "(param_2 == 1)" (( "(") (binary_expression "param_2 == 1" (identifier "param_2") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n        uVar1 = __wctype_l("blank",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" ({ "{") (expression_statement "uVar1 = __wctype_l("blank",*(undefined8 *)(param_1 + 0x10));" (assignment_expression "uVar1 = __wctype_l("blank",*(undefined8 *)(param_1 + 0x10))" (identifier "uVar1") (= "=") (call_expression "__wctype_l("blank",*(undefined8 *)(param_1 + 0x10))" (identifier "__wctype_l") (argument_list "("blank",*(undefined8 *)(param_1 + 0x10))" (( "(") (string_literal ""blank"" (" """) (string_content "blank") (" """)) (, ",") (pointer_expression "*(undefined8 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (if_statement "if (param_2 == 2) {\n        uVar1 = __wctype_l("cntrl",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" (if "if") (parenthesized_expression "(param_2 == 2)" (( "(") (binary_expression "param_2 == 2" (identifier "param_2") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n        uVar1 = __wctype_l("cntrl",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" ({ "{") (expression_statement "uVar1 = __wctype_l("cntrl",*(undefined8 *)(param_1 + 0x10));" (assignment_expression "uVar1 = __wctype_l("cntrl",*(undefined8 *)(param_1 + 0x10))" (identifier "uVar1") (= "=") (call_expression "__wctype_l("cntrl",*(undefined8 *)(param_1 + 0x10))" (identifier "__wctype_l") (argument_list "("cntrl",*(undefined8 *)(param_1 + 0x10))" (( "(") (string_literal ""cntrl"" (" """) (string_content "cntrl") (" """)) (, ",") (pointer_expression "*(undefined8 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      if (param_2 == 0x100) {\n        uVar1 = __wctype_l("upper",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x200) {\n        uVar1 = __wctype_l("lower",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }" (else "else") (compound_statement "{\n      if (param_2 == 0x100) {\n        uVar1 = __wctype_l("upper",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x200) {\n        uVar1 = __wctype_l("lower",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }" ({ "{") (if_statement "if (param_2 == 0x100) {\n        uVar1 = __wctype_l("upper",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" (if "if") (parenthesized_expression "(param_2 == 0x100)" (( "(") (binary_expression "param_2 == 0x100" (identifier "param_2") (== "==") (number_literal "0x100")) () ")")) (compound_statement "{\n        uVar1 = __wctype_l("upper",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" ({ "{") (expression_statement "uVar1 = __wctype_l("upper",*(undefined8 *)(param_1 + 0x10));" (assignment_expression "uVar1 = __wctype_l("upper",*(undefined8 *)(param_1 + 0x10))" (identifier "uVar1") (= "=") (call_expression "__wctype_l("upper",*(undefined8 *)(param_1 + 0x10))" (identifier "__wctype_l") (argument_list "("upper",*(undefined8 *)(param_1 + 0x10))" (( "(") (string_literal ""upper"" (" """) (string_content "upper") (" """)) (, ",") (pointer_expression "*(undefined8 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (if_statement "if (param_2 == 0x200) {\n        uVar1 = __wctype_l("lower",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" (if "if") (parenthesized_expression "(param_2 == 0x200)" (( "(") (binary_expression "param_2 == 0x200" (identifier "param_2") (== "==") (number_literal "0x200")) () ")")) (compound_statement "{\n        uVar1 = __wctype_l("lower",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" ({ "{") (expression_statement "uVar1 = __wctype_l("lower",*(undefined8 *)(param_1 + 0x10));" (assignment_expression "uVar1 = __wctype_l("lower",*(undefined8 *)(param_1 + 0x10))" (identifier "uVar1") (= "=") (call_expression "__wctype_l("lower",*(undefined8 *)(param_1 + 0x10))" (identifier "__wctype_l") (argument_list "("lower",*(undefined8 *)(param_1 + 0x10))" (( "(") (string_literal ""lower"" (" """) (string_content "lower") (" """)) (, ",") (pointer_expression "*(undefined8 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (} "}")))) (} "}")) (else_clause "else {\n    if (param_2 == 0xc04) {\n      uVar1 = __wctype_l("graph",*(undefined8 *)(param_1 + 0x10));\n      return uVar1;\n    }\n    if (param_2 < 0xc05) {\n      if (param_2 == 0x800) {\n        uVar1 = __wctype_l("digit",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0xc00) {\n        uVar1 = __wctype_l("alnum",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_2 == 0x2000) {\n        uVar1 = __wctype_l("space",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x4000) {\n        uVar1 = __wctype_l("print",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x1000) {\n        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n  }" (else "else") (compound_statement "{\n    if (param_2 == 0xc04) {\n      uVar1 = __wctype_l("graph",*(undefined8 *)(param_1 + 0x10));\n      return uVar1;\n    }\n    if (param_2 < 0xc05) {\n      if (param_2 == 0x800) {\n        uVar1 = __wctype_l("digit",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0xc00) {\n        uVar1 = __wctype_l("alnum",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_2 == 0x2000) {\n        uVar1 = __wctype_l("space",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x4000) {\n        uVar1 = __wctype_l("print",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x1000) {\n        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n  }" ({ "{") (if_statement "if (param_2 == 0xc04) {\n      uVar1 = __wctype_l("graph",*(undefined8 *)(param_1 + 0x10));\n      return uVar1;\n    }" (if "if") (parenthesized_expression "(param_2 == 0xc04)" (( "(") (binary_expression "param_2 == 0xc04" (identifier "param_2") (== "==") (number_literal "0xc04")) () ")")) (compound_statement "{\n      uVar1 = __wctype_l("graph",*(undefined8 *)(param_1 + 0x10));\n      return uVar1;\n    }" ({ "{") (expression_statement "uVar1 = __wctype_l("graph",*(undefined8 *)(param_1 + 0x10));" (assignment_expression "uVar1 = __wctype_l("graph",*(undefined8 *)(param_1 + 0x10))" (identifier "uVar1") (= "=") (call_expression "__wctype_l("graph",*(undefined8 *)(param_1 + 0x10))" (identifier "__wctype_l") (argument_list "("graph",*(undefined8 *)(param_1 + 0x10))" (( "(") (string_literal ""graph"" (" """) (string_content "graph") (" """)) (, ",") (pointer_expression "*(undefined8 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (if_statement "if (param_2 < 0xc05) {\n      if (param_2 == 0x800) {\n        uVar1 = __wctype_l("digit",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0xc00) {\n        uVar1 = __wctype_l("alnum",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }\n    else {\n      if (param_2 == 0x2000) {\n        uVar1 = __wctype_l("space",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x4000) {\n        uVar1 = __wctype_l("print",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x1000) {\n        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }" (if "if") (parenthesized_expression "(param_2 < 0xc05)" (( "(") (binary_expression "param_2 < 0xc05" (identifier "param_2") (< "<") (number_literal "0xc05")) () ")")) (compound_statement "{\n      if (param_2 == 0x800) {\n        uVar1 = __wctype_l("digit",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0xc00) {\n        uVar1 = __wctype_l("alnum",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }" ({ "{") (if_statement "if (param_2 == 0x800) {\n        uVar1 = __wctype_l("digit",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" (if "if") (parenthesized_expression "(param_2 == 0x800)" (( "(") (binary_expression "param_2 == 0x800" (identifier "param_2") (== "==") (number_literal "0x800")) () ")")) (compound_statement "{\n        uVar1 = __wctype_l("digit",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" ({ "{") (expression_statement "uVar1 = __wctype_l("digit",*(undefined8 *)(param_1 + 0x10));" (assignment_expression "uVar1 = __wctype_l("digit",*(undefined8 *)(param_1 + 0x10))" (identifier "uVar1") (= "=") (call_expression "__wctype_l("digit",*(undefined8 *)(param_1 + 0x10))" (identifier "__wctype_l") (argument_list "("digit",*(undefined8 *)(param_1 + 0x10))" (( "(") (string_literal ""digit"" (" """) (string_content "digit") (" """)) (, ",") (pointer_expression "*(undefined8 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (if_statement "if (param_2 == 0xc00) {\n        uVar1 = __wctype_l("alnum",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" (if "if") (parenthesized_expression "(param_2 == 0xc00)" (( "(") (binary_expression "param_2 == 0xc00" (identifier "param_2") (== "==") (number_literal "0xc00")) () ")")) (compound_statement "{\n        uVar1 = __wctype_l("alnum",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" ({ "{") (expression_statement "uVar1 = __wctype_l("alnum",*(undefined8 *)(param_1 + 0x10));" (assignment_expression "uVar1 = __wctype_l("alnum",*(undefined8 *)(param_1 + 0x10))" (identifier "uVar1") (= "=") (call_expression "__wctype_l("alnum",*(undefined8 *)(param_1 + 0x10))" (identifier "__wctype_l") (argument_list "("alnum",*(undefined8 *)(param_1 + 0x10))" (( "(") (string_literal ""alnum"" (" """) (string_content "alnum") (" """)) (, ",") (pointer_expression "*(undefined8 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      if (param_2 == 0x2000) {\n        uVar1 = __wctype_l("space",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x4000) {\n        uVar1 = __wctype_l("print",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x1000) {\n        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }" (else "else") (compound_statement "{\n      if (param_2 == 0x2000) {\n        uVar1 = __wctype_l("space",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x4000) {\n        uVar1 = __wctype_l("print",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n      if (param_2 == 0x1000) {\n        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }\n    }" ({ "{") (if_statement "if (param_2 == 0x2000) {\n        uVar1 = __wctype_l("space",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" (if "if") (parenthesized_expression "(param_2 == 0x2000)" (( "(") (binary_expression "param_2 == 0x2000" (identifier "param_2") (== "==") (number_literal "0x2000")) () ")")) (compound_statement "{\n        uVar1 = __wctype_l("space",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" ({ "{") (expression_statement "uVar1 = __wctype_l("space",*(undefined8 *)(param_1 + 0x10));" (assignment_expression "uVar1 = __wctype_l("space",*(undefined8 *)(param_1 + 0x10))" (identifier "uVar1") (= "=") (call_expression "__wctype_l("space",*(undefined8 *)(param_1 + 0x10))" (identifier "__wctype_l") (argument_list "("space",*(undefined8 *)(param_1 + 0x10))" (( "(") (string_literal ""space"" (" """) (string_content "space") (" """)) (, ",") (pointer_expression "*(undefined8 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (if_statement "if (param_2 == 0x4000) {\n        uVar1 = __wctype_l("print",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" (if "if") (parenthesized_expression "(param_2 == 0x4000)" (( "(") (binary_expression "param_2 == 0x4000" (identifier "param_2") (== "==") (number_literal "0x4000")) () ")")) (compound_statement "{\n        uVar1 = __wctype_l("print",*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" ({ "{") (expression_statement "uVar1 = __wctype_l("print",*(undefined8 *)(param_1 + 0x10));" (assignment_expression "uVar1 = __wctype_l("print",*(undefined8 *)(param_1 + 0x10))" (identifier "uVar1") (= "=") (call_expression "__wctype_l("print",*(undefined8 *)(param_1 + 0x10))" (identifier "__wctype_l") (argument_list "("print",*(undefined8 *)(param_1 + 0x10))" (( "(") (string_literal ""print"" (" """) (string_content "print") (" """)) (, ",") (pointer_expression "*(undefined8 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (if_statement "if (param_2 == 0x1000) {\n        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" (if "if") (parenthesized_expression "(param_2 == 0x1000)" (( "(") (binary_expression "param_2 == 0x1000" (identifier "param_2") (== "==") (number_literal "0x1000")) () ")")) (compound_statement "{\n        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10));\n        return uVar1;\n      }" ({ "{") (expression_statement "uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10));" (assignment_expression "uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10))" (identifier "uVar1") (= "=") (call_expression "__wctype_l(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10))" (identifier "__wctype_l") (argument_list "(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10))" (( "(") (pointer_expression "&DAT_00391f12" (& "&") (identifier "DAT_00391f12")) (, ",") (pointer_expression "*(undefined8 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (} "}")))) (} "}")))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* std::ctype<wchar_t>::_M_convert_to_wmask(unsigned short) const */

type_1 __thiscall std::type_2<wchar_t>::function_1(type_2<wchar_t> *var_3,type_3 var_1)

{
  type_1 uVar1;
  
  if (var_1 == 0x400) {
    uVar1 = var_2("alpha",*(type_1 *)(var_3 + 0x10));
    return uVar1;
  }
  if (var_1 < 0x401) {
    if (var_1 == 4) {
      uVar1 = var_2("punct",*(type_1 *)(var_3 + 0x10));
      return uVar1;
    }
    if (var_1 < 5) {
      if (var_1 == 1) {
        uVar1 = var_2("blank",*(type_1 *)(var_3 + 0x10));
        return uVar1;
      }
      if (var_1 == 2) {
        uVar1 = var_2("cntrl",*(type_1 *)(var_3 + 0x10));
        return uVar1;
      }
    }
    else {
      if (var_1 == 0x100) {
        uVar1 = var_2("upper",*(type_1 *)(var_3 + 0x10));
        return uVar1;
      }
      if (var_1 == 0x200) {
        uVar1 = var_2("lower",*(type_1 *)(var_3 + 0x10));
        return uVar1;
      }
    }
  }
  else {
    if (var_1 == 0xc04) {
      uVar1 = var_2("graph",*(type_1 *)(var_3 + 0x10));
      return uVar1;
    }
    if (var_1 < 0xc05) {
      if (var_1 == 0x800) {
        uVar1 = var_2("digit",*(type_1 *)(var_3 + 0x10));
        return uVar1;
      }
      if (var_1 == 0xc00) {
        uVar1 = var_2("alnum",*(type_1 *)(var_3 + 0x10));
        return uVar1;
      }
    }
    else {
      if (var_1 == 0x2000) {
        uVar1 = var_2("space",*(type_1 *)(var_3 + 0x10));
        return uVar1;
      }
      if (var_1 == 0x4000) {
        uVar1 = var_2("print",*(type_1 *)(var_3 + 0x10));
        return uVar1;
      }
      if (var_1 == 0x1000) {
        uVar1 = var_2(&DAT_00391f12,*(type_1 *)(var_3 + 0x10));
        return uVar1;
      }
    }
  }
  return 0;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (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))))))))) (return_statement (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (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))))))))) (return_statement (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (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))))))))) (return_statement (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (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))))))))) (return_statement (identifier))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (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))))))))) (return_statement (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (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))))))))) (return_statement (identifier)))))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (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))))))))) (return_statement (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (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))))))))) (return_statement (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (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))))))))) (return_statement (identifier))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (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))))))))) (return_statement (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (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))))))))) (return_statement (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (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))))))))) (return_statement (identifier)))))))))) (return_statement (number_literal)))))

undefined8 MASKED(long param_1,ushort param_2)

{
  undefined8 uVar1;
  
  if (param_2 == 0x400) {
    uVar1 = __wctype_l("alpha",*(undefined8 *)(param_1 + 0x10));
    return uVar1;
  }
  if (param_2 < 0x401) {
    if (param_2 == 4) {
      uVar1 = __wctype_l("punct",*(undefined8 *)(param_1 + 0x10));
      return uVar1;
    }
    if (param_2 < 5) {
      if (param_2 == 1) {
        uVar1 = __wctype_l("blank",*(undefined8 *)(param_1 + 0x10));
        return uVar1;
      }
      if (param_2 == 2) {
        uVar1 = __wctype_l("cntrl",*(undefined8 *)(param_1 + 0x10));
        return uVar1;
      }
    }
    else {
      if (param_2 == 0x100) {
        uVar1 = __wctype_l("upper",*(undefined8 *)(param_1 + 0x10));
        return uVar1;
      }
      if (param_2 == 0x200) {
        uVar1 = __wctype_l("lower",*(undefined8 *)(param_1 + 0x10));
        return uVar1;
      }
    }
  }
  else {
    if (param_2 == 0xc04) {
      uVar1 = __wctype_l("graph",*(undefined8 *)(param_1 + 0x10));
      return uVar1;
    }
    if (param_2 < 0xc05) {
      if (param_2 == 0x800) {
        uVar1 = __wctype_l("digit",*(undefined8 *)(param_1 + 0x10));
        return uVar1;
      }
      if (param_2 == 0xc00) {
        uVar1 = __wctype_l("alnum",*(undefined8 *)(param_1 + 0x10));
        return uVar1;
      }
    }
    else {
      if (param_2 == 0x2000) {
        uVar1 = __wctype_l("space",*(undefined8 *)(param_1 + 0x10));
        return uVar1;
      }
      if (param_2 == 0x4000) {
        uVar1 = __wctype_l("print",*(undefined8 *)(param_1 + 0x10));
        return uVar1;
      }
      if (param_2 == 0x1000) {
        uVar1 = __wctype_l(&DAT_00391f12,*(undefined8 *)(param_1 + 0x10));
        return uVar1;
      }
    }
  }
  return 0;
}

