//
// cocos2d::isspace_unicode from 0xd8d878 to 0xd8d90c (148 bytes)
//
// 4 xrefs:
// > cocos2d::CCLabelBMFont::updateLabel @ 0xd57390
// > cocos2d::cc_utf8_trim_ws @ 0xd8d9d4
// > cocos2d::cc_utf8_trim_ws @ 0xd8da0c
// > ??> @ 0xa2040
//
// 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 13:08:17 +0000
//
__int64 __fastcall cocos2d::isspace_unicode(cocos2d *this)
{
int v1; // w1
__int64 result; // x0
v1 = (unsigned __int16)this;
result = ((unsigned __int16)((_WORD)this - 9) <= 4u) | (unsigned int)(((unsigned __int16)this & 0xFF7F) == 32);
if ( !(_DWORD)result )
{
result = (v1 == 133) | (unsigned int)(v1 == 5760);
if ( !(_DWORD)result )
{
result = 1;
if ( (unsigned __int16)(v1 - 0x2000) > 0xAu && (unsigned __int16)(v1 - 8232) > 1u )
return (v1 == 12288) | (v1 == 8287) | (unsigned int)(v1 == 8239);
}
}
return result;
}