//
// AccountRegisterLayer::createTextInput from 0x10048e080 to 0x10048e169 (233 bytes)
//
// 5 xrefs:
// > AccountRegisterLayer::init @ 0x10048ca02
// > AccountRegisterLayer::init @ 0x10048cd2a
// > AccountRegisterLayer::init @ 0x10048cf24
// > AccountRegisterLayer::init @ 0x10048d12e
// > AccountRegisterLayer::init @ 0x10048d38e
//
// 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
//
_QWORD *__fastcall AccountRegisterLayer::createTextInput(
__int64 a1,
__int64 a2,
float *a3,
__int64 a4,
unsigned int a5)
{
__int64 v6; // rcx
_QWORD *v7; // r15
if ( (*(_BYTE *)a4 & 1) != 0 )
v6 = *(_QWORD *)(a4 + 16);
else
v6 = a4 + 1;
v7 = CCTextInputNode::create(v6, (__int64)"Thonburi", 0x18u, (__int64)"bigFont.fnt", *a3 + -20.0, a3[1] + 10.0);
(*(void (__fastcall **)(_QWORD, _QWORD *, __int64))(**(_QWORD **)(a1 + 584) + 464LL))(*(_QWORD *)(a1 + 584), v7, 20);
CCTextInputNode::setMaxLabelScale((__int64)v7, 0.80000001);
v7[73] = a1 + 544;
(*(void (__fastcall **)(_QWORD *, _QWORD))(*v7 + 72LL))(v7, a5);
(*(void (__fastcall **)(_QWORD *, __int64))(*v7 + 184LL))(v7, a2);
(*(void (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)v7[72] + 344LL))(v7[72], 0);
CCTextInputNode::setLabelPlaceholderColor((__int64)v7, 15772280);
CCTextInputNode::setLabelPlaceholderScale((__int64)v7, 0.5);
return v7;
}