//
// cocos2d::CCLabelTTF::setVerticalAlignment from 0x18004e870 to 0x18004e88d (29 bytes)
//
// 1 xrefs:
// > ??> @ 0x1801438a8
//
// 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::CCLabelTTF::setVerticalAlignment(
cocos2d::CCLabelTTF *this,
enum cocos2d::CCVerticalTextAlignment a2)
{
bool v2; // zf
bool result; // al
if ( a2 != this->m_vAlignment )
{
v2 = this->m_string.m_data.m_size == 0;
this->m_vAlignment = a2;
if ( !v2 )
return cocos2d::CCLabelTTF::updateTexture(this);
}
return result;
}