//
// cocos2d::isspace_unicode from 0x10073f640 to 0x10073f6b5 (117 bytes)
//
// 1 xrefs:
// > cocos2d::CCLabelBMFont::updateLabel @ 0x1006abf16
//
// This function is hookable on this platform (idp: pc, 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 12:36:28 +0000
//
char __fastcall cocos2d::isspace_unicode(int a1)
{
char result; // al
void *v2; // rdx
unsigned __int64 v3; // rdx
__int64 v4; // rsi
result = 1;
if ( a1 > 132 )
{
if ( a1 == 133 || a1 == 160 || a1 == 5760 )
return result;
}
else if ( (unsigned int)a1 <= 0x20 )
{
v2 = &loc_100003E00;
if ( _bittest64((const __int64 *)&v2, (unsigned int)a1) )
return result;
}
if ( (unsigned __int16)(a1 - 0x2000) >= 0xBu )
{
v3 = (unsigned int)(unsigned __int16)a1 - 8232;
if ( (unsigned int)v3 > 0x37 || (v4 = 0x80000000000083LL, !_bittest64(&v4, v3)) )
{
if ( (unsigned __int16)a1 != 12288 )
return 0;
}
}
return result;
}