//
// AccountLoginLayer::createTextLabel from 0x100083c8c to 0x100083d70 (228 bytes)
//
// 2 xrefs:
// > AccountLoginLayer::init @ 0x1000834d4
// > AccountLoginLayer::init @ 0x10008360c
//
// 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; // x2
float *v5; // x3
float *v6; // x21
cocos2d::CCLabelBMFont *v9; // x19
__n128 v10; // q0
__n128 v11; // q1
__n128 v12; // q0
__n128 v13; // q1
double v14; // d0
float32x2_t v16; // [xsp+0h] [xbp-30h] BYREF
float32x2_t v17; // [xsp+8h] [xbp-28h] BYREF
v6 = v5;
v9 = cocos2d::CCLabelBMFont::create_1(v4, "bigFont.fnt");
v10.n128_u32[0] = 0;
v11.n128_u32[0] = 0;
sub_100022980(v10, v11, &v17);
v12 = ((__n128 (__fastcall *)(cocos2d::CCLabelBMFont *, float32x2_t *))v9->setAnchorPoint)(v9, &v17);
v12.n128_f32[0] = *v6 * -0.5;
v13.n128_f32[0] = (float)(v6[1] * 0.5) + 1.0;
sub_100022980(v12, v13, &v16);
*(float32x2_t *)&v14 = sub_1000229DC((float32x2_t *)a3, &v16, &v17);
((void (__fastcall *)(cocos2d::CCLabelBMFont *, float32x2_t *, double))v9->setPosition)(v9, &v17, v14);
((void (__fastcall *)(cocos2d::CCLabelBMFont *, float))v9->setScale)(v9, 0.4);
((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCLabelBMFont *))a1->m_mainLayer->addChild)(a1->m_mainLayer, v9);
return v9;
}