//
// AccountLoginLayer::createTextLabel from 0x100499fa0 to 0x10049a074 (212 bytes)
//
// 0 xrefs:
//
// 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 *__fastcall AccountLoginLayer::createTextLabel(
AccountLoginLayer *a1,
cocos2d::CCPoint a2,
const char *a3,
cocos2d::CCSize a4)
{
const char *v4; // rdx
float *v5; // rcx
float *v6; // r12
cocos2d::CCLabelBMFont *v7; // r14
unsigned __int64 v9; // [rsp+8h] [rbp-38h] BYREF
double v10[6]; // [rsp+10h] [rbp-30h] BYREF
v6 = v5;
v7 = cocos2d::CCLabelBMFont::create_3(v4, "bigFont.fnt");
sub_10028CBE0((float *)v10, 0.0, 0.0);
((void (__fastcall *)(cocos2d::CCLabelBMFont *, double *))v7->setAnchorPoint)(v7, v10);
sub_10028CBE0((float *)&v9, *v6 * -0.5, (float)(v6[1] * 0.5) + 1.0);
sub_10028CCE0(v10, (unsigned __int64 *)a3, &v9);
((void (__fastcall *)(cocos2d::CCLabelBMFont *, double *))v7->setPosition)(v7, v10);
((void (__fastcall *)(cocos2d::CCLabelBMFont *, float))v7->setScale)(v7, 0.40000001);
((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCLabelBMFont *))a1->m_mainLayer->addChild)(a1->m_mainLayer, v7);
return v7;
}