//
// AccountLoginLayer::createTextLabel from 0x850ae8 to 0x850c08 (288 bytes)
//
// 3 xrefs:
// > AccountLoginLayer::init @ 0x851148
// > AccountLoginLayer::init @ 0x85125c
// > ??> @ 0x739f8
//
// 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)
{
cocos2d::CCPoint *v4; // x3
cocos2d::CCLabelBMFont *v7; // x19
void (__fastcall *setAnchorPoint)(cocos2d::CCLabelBMFont *__hidden, const cocos2d::CCPoint *); // x25
float *v9; // x3
cocos2d::CCLabelBMFont_vtbl *v10; // x2
void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x22
cocos2d::CCPoint *v13; // [xsp+58h] [xbp+58h]
cocos2d::CCPoint v14; // [xsp+68h] [xbp+68h] BYREF
cocos2d::CCPoint v15; // [xsp+70h] [xbp+70h] BYREF
v13 = v4;
v7 = cocos2d::CCLabelBMFont::create();
setAnchorPoint = v7->setAnchorPoint;
cocos2d::CCPoint::CCPoint(&v15, 0.0, 0.0);
setAnchorPoint(v7, &v15);
v9 = (float *)v13;
v10 = v7->cocos2d::CCSpriteBatchNode::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v13 = &v14;
setPosition = v10->setPosition;
cocos2d::CCPoint::CCPoint(&v14, (float)-*v9 * 0.5, (float)(v9[1] * 0.5) + 1.0);
cocos2d::CCPoint::operator+(&v15, a3, v13);
setPosition(v7, &v15);
v7->setScale(v7, 0.4);
a1->m_mainLayer->addChild(a1->m_mainLayer, v7);
return v7;
}