//
// cocos2d::isspace_unicode from 0x100241e68 to 0x100241efc (148 bytes)
//
// 4 xrefs:
// > cocos2d::cc_utf8_trim_ws @ 0x100241f34
// > cocos2d::cc_utf8_trim_ws @ 0x100241f54
// > cocos2d::cc_utf8_trim_ws @ 0x100241f70
// > cocos2d::CCLabelBMFont::updateLabel @ 0x100398f8c
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:01:24 +0000
//
bool __fastcall cocos2d::isspace_unicode(int a1)
{
_BOOL8 result; // x0
result = 1;
if ( a1 > 132 )
{
if ( a1 == 133 || a1 == 160 || a1 == 5760 )
return result;
}
else if ( (unsigned int)a1 <= 0x20 && ((1LL << a1) & 0x100003E00LL) != 0 )
{
return result;
}
if ( (unsigned int)(a1 - 0x2000) >= 0xB
&& ((unsigned int)(a1 - 8232) > 0x37 || ((1LL << ((unsigned __int8)a1 - 40)) & 0x80000000000083LL) == 0) )
{
return a1 == 12288;
}
return result;
}