//
// AccountLoginLayer::createTextLabel from 0x14007c5c0 to 0x14007c6a0 (224 bytes)
//
// 4 xrefs:
// > AccountLoginLayer::init @ 0x14007bd72
// > AccountLoginLayer::init @ 0x14007bf71
// > ??> @ 0x1406c67d4
// > ??> @ 0x1406c67e0
//
// 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)
{
struct cocos2d::CCLabelBMFont *v7; // r14
cocos2d::CCLabelBMFont_vtbl *v8; // rbx
const cocos2d::CCPoint *v9; // rax
cocos2d::CCPoint v11; // [rsp+40h] [rbp+8h] BYREF
cocos2d::CCPoint v12; // [rsp+58h] [rbp+20h] BYREF
v7 = cocos2d::CCLabelBMFont::create(a3, (const char *)&qword_14052A4D8);
v8 = v7->cocos2d::CCSpriteBatchNode::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
cocos2d::CCPoint::CCPoint(&v11, 0.0, 0.0);
v8->setAnchorPoint(v7, v9);
cocos2d::CCPoint::CCPoint(&v12, (float)-**(float **)&a4 * 0.5, (float)(*(float *)(*(_QWORD *)&a4 + 4LL) * 0.5) + 1.0);
((void (__fastcall *)(_QWORD, _QWORD))cocos2d::CCPoint::operator+)(a2, &v11);
v7->setPosition_0(v7, &v11);
((void (__fastcall *)(struct cocos2d::CCLabelBMFont *))v7->setScale_0)(v7);
a1->m_mainLayer->addChild_1(a1->m_mainLayer, v7);
return v7;
}