//
// cocos2d::isspace_unicode from 0x1001ad088 to 0x1001ad11c (148 bytes)
//
// 4 xrefs:
// > cocos2d::cc_utf8_trim_ws @ 0x1001ad154
// > cocos2d::cc_utf8_trim_ws @ 0x1001ad174
// > cocos2d::cc_utf8_trim_ws @ 0x1001ad190
// > cocos2d::CCLabelBMFont::updateLabel @ 0x1002fc664
//
// 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)
{
int v1; // w8
bool result; // w0
v1 = a1;
result = 1;
if ( v1 > 132 )
{
if ( v1 == 133 || v1 == 160 || v1 == 5760 )
return result;
}
else if ( (unsigned int)v1 <= 0x20 && ((1LL << v1) & 0x100003E00LL) != 0 )
{
return result;
}
if ( (unsigned int)(v1 - 0x2000) >= 0xB
&& ((unsigned int)(v1 - 8232) > 0x37 || ((1LL << ((unsigned __int8)v1 - 40)) & 0x80000000000083LL) == 0) )
{
return v1 == 12288;
}
return result;
}