//
// cocos2d::iscjk_unicode from 0xb1cec4 to 0xb1cf58 (148 bytes)
//
// 1 xrefs:
// > ??> @ 0x4e4b0
//
// 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::iscjk_unicode(cocos2d *this)
{
__int16 v1; // w3
__int16 v2; // w1
_BOOL8 result; // x0
v1 = (__int16)this;
v2 = (_WORD)this - 0x2000;
result = ((unsigned __int16)((_WORD)this - 19968) <= 0x51BFu)
| (unsigned int)((unsigned __int16)((_WORD)this - 11904) <= 0x15Fu);
if ( !result )
{
result = 1;
if ( (unsigned __int16)(v2 - 4080) > 0x1CFu
&& (unsigned __int16)(v1 + 21504) > 0x2BAFu
&& (unsigned __int16)(v1 + 1792) > 0x1FFu
&& (unsigned __int16)(v1 + 464) > 0x1Fu )
{
return (unsigned __int16)(v1 - 12736) <= 0x1C3Fu;
}
}
return result;
}