// // LabelGameObject::updateLabelAlign from 0x3eb0a0 to 0x3eb0fa (90 bytes) // // 3 xrefs: // > LabelGameObject::customObjectSetup @ 0x3eb180 // > LabelGameObject::createLabel @ 0x3eb330 // > SetItemIDLayer::valueDidChange @ 0x4f2386 // // 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 LabelGameObject::updateLabelAlign(LabelGameObject *a1, int a2) { cocos2d::CCLabelBMFont *m_label; // r5 int v3; // r2 void (__fastcall *setAnchorPoint)(cocos2d::CCLabelBMFont *__hidden, const cocos2d::CCPoint *); // r7 float v5; // r1 cocos2d::CCPoint v6; // [sp+4h] [bp-10h] BYREF int v7; // [sp+Ch] [bp-8h] m_label = a1->m_label; v3 = _stack_chk_guard; a1->m_alignment = a2; v7 = v3; if ( m_label ) { setAnchorPoint = m_label->setAnchorPoint; if ( a2 == 1 ) { v5 = 0.0; } else if ( a2 == 2 ) { v5 = 1.0; } else { v5 = 0.5; } cocos2d::CCPoint::CCPoint(&v6, v5, 0.5); setAnchorPoint(m_label, &v6); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source