//
// AccountRegisterLayer::createTextLabel from 0x10048df90 to 0x10048e072 (226 bytes)
//
// 5 xrefs:
// > AccountRegisterLayer::init @ 0x10048c989
// > AccountRegisterLayer::init @ 0x10048cbcb
// > AccountRegisterLayer::init @ 0x10048ceb1
// > AccountRegisterLayer::init @ 0x10048d0bd
// > AccountRegisterLayer::init @ 0x10048d318
//
// 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 12:30:45 +0000
//
__int64 __fastcall AccountRegisterLayer::createTextLabel(__int64 a1, unsigned __int64 *a2, __int64 a3, float *a4)
{
__int64 v5; // rdx
__int64 v6; // r14
unsigned __int64 v8; // [rsp+8h] [rbp-38h] BYREF
double v9[6]; // [rsp+10h] [rbp-30h] BYREF
if ( (*(_BYTE *)a3 & 1) != 0 )
v5 = *(_QWORD *)(a3 + 16);
else
v5 = a3 + 1;
v6 = cocos2d::CCLabelBMFont::create_3(v5, "bigFont.fnt");
sub_100278250((float *)v9, 0.0, 0.0);
(*(void (__fastcall **)(__int64, double *))(*(_QWORD *)v6 + 296LL))(v6, v9);
sub_100278250((float *)&v8, *a4 * -0.5, (float)(a4[1] * 0.5) + 1.0);
sub_100278350(v9, a2, &v8);
(*(void (__fastcall **)(__int64, double *))(*(_QWORD *)v6 + 184LL))(v6, v9);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v6 + 160LL))(v6, 0.40000001);
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 584) + 456LL))(*(_QWORD *)(a1 + 584), v6);
return v6;
}