{"type": "func", "start": 6442772432, "end": 6442772461, "name": "cocos2d::CCLabelTTF::setHorizontalAlignment", "pseudocode": "// \n// cocos2d::CCLabelTTF::setHorizontalAlignment from 0x18004e7d0 to 0x18004e7ed (29 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1801438a8\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nbool __fastcall cocos2d::CCLabelTTF::setHorizontalAlignment(\n        cocos2d::CCLabelTTF *this,\n        enum cocos2d::CCTextAlignment a2)\n{\n  bool v2; // zf\n  bool result; // al\n\n  if ( a2 != this->m_hAlignment )\n  {\n    v2 = this->m_string.m_data.m_size == 0;\n    this->m_hAlignment = a2;\n    if ( !v2 )\n      return cocos2d::CCLabelTTF::updateTexture(this);\n  }\n  return result;\n}", "assembly": "; \n; cocos2d::CCLabelTTF::setHorizontalAlignment from 0x18004e7d0 to 0x18004e7ed (29 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1801438a8\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\ncmp     edx, [rcx+268h]                                                ; +0x0, 0x18004e7d0\njz      short locret_18004E7EC                                         ; +0x6, 0x18004e7d6\ncmp     qword ptr [rcx+290h], 0                                        ; +0x8, 0x18004e7d8\nmov     [rcx+268h], edx                                                ; +0x10, 0x18004e7e0\nja      ?updateTexture@CCLabelTTF@cocos2d@@AEAA_NXZ; cocos2d::CCLabelTTF::updateTexture(void) ; +0x16, 0x18004e7e6\nretn                                                                   ; +0x1c, 0x18004e7ec", "xrefs": ["<???> @ 0x1801438a8"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}