//
// cocos2d::CCComponent::getName from 0x10009be10 to 0x10009be29 (25 bytes)
//
// 2 xrefs:
// > cocos2d::CCComponentContainer::add @ 0x1002c51b8
// > cocos2d::CCComponentContainer::add @ 0x1002c529e
//
// 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
//
const char *__fastcall cocos2d::CCComponent::getName(cocos2d::CCComponent *a1)
{
if ( (a1->m_strName.m_data.m_short.sizex2 & 1) != 0 )
return a1->m_strName.m_data.m_long.longStorage;
else
return a1->m_strName.m_data.m_short.shortStorage.__elems_;
}