//
// sub_77AFFC from 0x77affc to 0x77b038 (60 bytes)
//
// 0 xrefs:
//
// 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
//
int __fastcall sub_77AFFC(int a1, int a2, wint_t wc)
{
int v3; // r5
wctype_t *v4; // r4
wctype_t *v5; // r6
int v8; // t1
v3 = a1 + 1167;
v4 = (wctype_t *)(a1 + 1184);
v5 = (wctype_t *)(a1 + 1248);
do
{
v8 = *(unsigned __int8 *)++v3;
if ( (a2 & v8) != 0 && iswctype(wc, *v4) )
return 1;
++v4;
}
while ( v4 != v5 );
return 0;
}