//
// cocos2d::CCString::compare from 0x1007ab1a0 to 0x1007ab1be (30 bytes)
//
// 0 xrefs:
//
// 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
//
int __fastcall cocos2d::CCString::compare(cocos2d::CCString *a1, const char *a2)
{
if ( (a1->m_sString.m_data.m_short.sizex2 & 1) != 0 )
return strcmp(a1->m_sString.m_data.m_long.longStorage, a2);
else
return strcmp(a1->m_sString.m_data.m_short.shortStorage.__elems_, a2);
}