//
// sub_D20D08 from 0xd20d08 to 0xd20d90 (136 bytes)
//
// 2 xrefs:
// > ??> @ 0x121ee70
// > ??> @ 0x121eef0
//
// 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
//
__int64 __fastcall sub_D20D08(__int64 a1, unsigned __int8 a2, wint_t wc)
{
int v3; // w22
unsigned __int8 *v5; // x19
wctype_t *v6; // x20
unsigned __int8 *v7; // x21
int v8; // w1
v3 = a2;
v5 = (unsigned __int8 *)(a1 + 1180);
v6 = (wctype_t *)(a1 + 1200);
v7 = (unsigned __int8 *)(a1 + 1196);
do
{
v8 = *v5++;
if ( (v3 & v8) != 0 && iswctype(wc, *v6) )
return 1;
++v6;
}
while ( v5 != v7 );
return 0;
}