//
// AccountLoginLayer::createTextLabel from 0x140091580 to 0x140091660 (224 bytes)
//
// 3 xrefs:
// > AccountLoginLayer::init @ 0x140090f2e
// > AccountLoginLayer::init @ 0x1400910ed
// > ??> @ 0x140912a64
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:26:01 +0000
//
struct cocos2d::CCLabelBMFont *__fastcall AccountLoginLayer::createTextLabel(
__int64 a1,
__int64 a2,
const char *a3,
float *a4)
{
struct cocos2d::CCLabelBMFont *v7; // r14
__int64 v8; // rbx
__int64 v9; // rax
__int64 v10; // rax
char v12; // [rsp+40h] [rbp+8h] BYREF
char v13; // [rsp+58h] [rbp+20h] BYREF
v7 = cocos2d::CCLabelBMFont::create(a3, (const char *)&qword_140704F78);
v8 = *(_QWORD *)v7;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v12, 0.0, 0.0);
(*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v8 + 288))(v7, v9);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v13, (float)-*a4 * 0.5, (float)(a4[1] * 0.5) + 1.0);
cocos2d::CCPoint::operator+(a2, &v12, v10);
(*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, char *))(*(_QWORD *)v7 + 184LL))(v7, &v12);
(*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v7 + 160LL))(v7);
(*(void (__fastcall **)(_QWORD, struct cocos2d::CCLabelBMFont *))(**(_QWORD **)(a1 + 584) + 464LL))(
*(_QWORD *)(a1 + 584),
v7);
return v7;
}