//
// cocos2d::isspace_unicode from 0xb1ce30 to 0xb1cec4 (148 bytes)
//
// 4 xrefs:
// > cocos2d::CCLabelBMFont::updateLabel @ 0xae7cd4
// > cocos2d::cc_utf8_trim_ws @ 0xb1cf8c
// > cocos2d::cc_utf8_trim_ws @ 0xb1cfc4
// > ??> @ 0x79218
//
// 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 cocos2d::isspace_unicode(unsigned __int16 a1)
{
int v1; // w1
_BOOL4 v2; // w0
v1 = a1;
v2 = (unsigned __int16)(a1 - 9) <= 4u || (a1 & 0xFF7F) == 32;
if ( !v2 )
{
v2 = v1 == 133 || v1 == 5760;
if ( !v2 )
{
LOBYTE(v2) = 1;
if ( (unsigned __int16)(v1 - 0x2000) > 0xAu && (unsigned __int16)(v1 - 8232) > 1u )
LOBYTE(v2) = v1 == 12288 || v1 == 8287 || v1 == 8239;
}
}
return v2;
}