// // AccountLoginLayer::createTextLabel from 0x469414 to 0x4694b8 (164 bytes) // // 2 xrefs: // > AccountLoginLayer::init @ 0x469816 // > AccountLoginLayer::init @ 0x4698ea // // 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 // cocos2d::CCLabelBMFont *AccountLoginLayer::createTextLabel( AccountLoginLayer *a1, cocos2d::CCPoint a2, const char *a3, cocos2d::CCSize a4) { float x; // r10 cocos2d::CCLabelBMFont *v7; // r4 void (__fastcall *setAnchorPoint)(cocos2d::CCLabelBMFont *__hidden, const cocos2d::CCPoint *); // r9 void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r9 cocos2d::CCPoint v11; // [sp+4h] [bp-14h] BYREF cocos2d::CCPoint v12; // [sp+Ch] [bp-Ch] BYREF x = a2.x; v7 = cocos2d::CCLabelBMFont::create(); setAnchorPoint = v7->setAnchorPoint; cocos2d::CCPoint::CCPoint(&v12, 0.0, 0.0); setAnchorPoint(v7, &v12); setPosition = v7->setPosition; cocos2d::CCPoint::CCPoint(&v11, -(float)(*(float *)a3 * 0.5), (float)(*((float *)a3 + 1) * 0.5) + 1.0); cocos2d::CCPoint::operator+(&v12, LODWORD(x), &v11); setPosition(v7, &v12); ((void (__fastcall *)(cocos2d::CCLabelBMFont *, int))v7->setScale)(v7, 1053609165); a1->m_mainLayer->addChild(a1->m_mainLayer, v7); return v7; }