//
// cocos2d::isspace_unicode from 0x10065fff0 to 0x100660065 (117 bytes)
//
// 1 xrefs:
// > cocos2d::CCLabelBMFont::updateLabel @ 0x1005da5c6
//
// 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
//
bool __fastcall cocos2d::isspace_unicode(unsigned __int16 a1)
{
bool result; // al
__int64 v2; // rdx
unsigned __int64 v3; // rdx
__int64 v4; // rsi
result = 1;
if ( (int)a1 > 132 )
{
if ( a1 == 133 || a1 == 160 || a1 == 5760 )
return result;
}
else if ( a1 <= 0x20u )
{
v2 = 0x100003E00LL;
if ( _bittest64(&v2, a1) )
return result;
}
if ( (unsigned __int16)(a1 - 0x2000) >= 0xBu )
{
v3 = (unsigned int)a1 - 8232;
if ( (unsigned int)v3 > 0x37 || (v4 = 0x80000000000083LL, !_bittest64(&v4, v3)) )
{
if ( a1 != 12288 )
return 0;
}
}
return result;
}