//
// cocos2d::CCLabelTTF::setHorizontalAlignment from 0x7d64fa to 0x7d651c (34 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:00:39 +0000
//
cocos2d::CCLabelTTF *__fastcall cocos2d::CCLabelTTF::setHorizontalAlignment(cocos2d::CCLabelTTF *this, int a2)
{
int v2; // r3
int v3; // r3
if ( a2 != *((_DWORD *)this + 130) )
{
v2 = *((unsigned __int8 *)this + 536);
*((_DWORD *)this + 130) = a2;
if ( (v2 & 1) != 0 )
v3 = *((_DWORD *)this + 135);
else
v3 = v2 >> 1;
if ( v3 )
return (cocos2d::CCLabelTTF *)cocos2d::CCLabelTTF::updateTexture(this);
}
return this;
}