// // LabelGameObject::createLabel from 0x761ea8 to 0x761f94 (236 bytes) // // 3 xrefs: // > LevelEditorLayer::updateLevelFont @ 0x661074 // > LabelGameObject::setupCustomSprites @ 0x76203c // > @ 0x58968 // // 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 // __int64 __fastcall LabelGameObject::createLabel(LabelGameObject *a1) { GameManager *v2; // x21 GameManager *v3; // x0 cocos2d::CCLabelBMFont *v4; // x22 float height; // s2 void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x21 cocos2d::CCPoint v8; // [xsp+40h] [xbp+40h] BYREF if ( a1->m_label ) LabelGameObject::removeLabel(a1); v2 = GameManager::sharedState(); v3 = GameManager::sharedState(); GameManager::getFontFile(v2, v3->m_loadedFont); v4 = cocos2d::CCLabelBMFont::create(); height = a1->m_obRect.size.height; a1->m_label = v4; setPosition = v4->setPosition; cocos2d::CCPoint::CCPoint(&v8, a1->m_obRect.size.width * 0.5, height * 0.5); setPosition(v4, &v8); a1->addChild(a1, a1->m_label); LabelGameObject::updateLabelAlign(a1, a1->m_alignment); a1->m_labelDirty = 0; return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source