// // LabelGameObject::updateLabelAlign from 0x1001c1220 to 0x1001c129b (123 bytes) // // 1 xrefs: // > SetItemIDLayer::valueDidChange @ 0x10009cb01 // // 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 // void __fastcall LabelGameObject::updateLabelAlign(LabelGameObject *a1, int a2) { cocos2d::CCLabelBMFont *m_label; // rbx float v3; // xmm0_4 _BYTE v4[24]; // [rsp+8h] [rbp-18h] BYREF a1->m_alignment = a2; m_label = a1->m_label; if ( m_label ) { if ( a2 == 2 ) { v3 = 1.0; } else if ( a2 == 1 ) { v3 = 0.0; } else { v3 = 0.5; } sub_10028CBE0(v4, v3, 0.5); ((void (__fastcall *)(cocos2d::CCLabelBMFont *, _BYTE *))m_label->setAnchorPoint)(m_label, v4); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source