//
// sub_77AEF8 from 0x77aef8 to 0x77af86 (142 bytes)
//
// 1 xrefs:
// > sub_77B1F4 @ 0x77b24e
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
wctype_t __fastcall sub_77AEF8(int a1, unsigned int a2)
{
if ( a2 == 8 )
return j_wctype("space");
if ( a2 > 8 )
{
if ( a2 == 32 )
{
return j_wctype("cntrl");
}
else
{
if ( a2 > 0x20 )
{
if ( a2 == 68 )
return j_wctype("xdigit");
if ( a2 == 151 )
return j_wctype("print");
return 0;
}
if ( a2 != 16 )
{
if ( a2 == 23 )
return j_wctype("graph");
return 0;
}
return j_wctype("punct");
}
}
else
{
if ( a2 == 3 )
return j_wctype("alpha");
if ( a2 <= 3 )
{
if ( a2 != 1 )
{
if ( a2 == 2 )
return j_wctype("lower");
return 0;
}
return j_wctype("upper");
}
else
{
if ( a2 != 4 )
{
if ( a2 == 7 )
return j_wctype("alnum");
return 0;
}
return j_wctype("digit");
}
}
}