//
// cocos2d::CCLabelTTF::setHorizontalAlignment from 0x5ce49a to 0x5ce4b6 (28 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
//
cocos2d::CCLabelTTF *__fastcall cocos2d::CCLabelTTF::setHorizontalAlignment(
cocos2d::CCLabelTTF *result,
cocos2d::CCTextAlignment a2)
{
stl::StringData::Internal *m_data; // r3
if ( a2 != result->m_hAlignment )
{
m_data = result->m_string.m_data.m_data;
result->m_hAlignment = a2;
if ( *((_DWORD *)m_data - 3) )
return (cocos2d::CCLabelTTF *)cocos2d::CCLabelTTF::updateTexture(result);
}
return result;
}