//
// AccountRegisterLayer::createTextInput from 0x14008dc70 to 0x14008dd9e (302 bytes)
//
// 6 xrefs:
// > AccountRegisterLayer::init @ 0x14008d15f
// > AccountRegisterLayer::init @ 0x14008d410
// > AccountRegisterLayer::init @ 0x14008d5be
// > AccountRegisterLayer::init @ 0x14008d749
// > AccountRegisterLayer::init @ 0x14008d91e
// > ??> @ 0x140912974
//
// 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:25:59 +0000
//
// Hidden C++ exception states: #wind=1
char *__fastcall AccountRegisterLayer::createTextInput(
__int64 a1,
__int64 a2,
__int64 a3,
__int64 *a4,
unsigned int a5)
{
__int64 v8; // r8
char *v9; // rbx
__int64 v10; // rcx
v8 = (__int64)a4;
if ( (unsigned __int64)a4[3] > 0xF )
v8 = *a4;
v9 = CCTextInputNode::create(a1, a2, v8);
(*(void (__fastcall **)(_QWORD, char *, __int64))(**(_QWORD **)(a1 + 584) + 456LL))(*(_QWORD *)(a1 + 584), v9, 20);
*((_DWORD *)v9 + 141) = 1061997773;
CCTextInputNode::refreshLabel((__int64)v9);
v10 = a1 + 544;
if ( !a1 )
v10 = 0;
*((_QWORD *)v9 + 75) = v10;
(*(void (__fastcall **)(char *, _QWORD))(*(_QWORD *)v9 + 64LL))(v9, a5);
(*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v9 + 184LL))(v9, a2);
(*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)v9 + 74) + 336LL))(*((_QWORD *)v9 + 74), 0);
*((_WORD *)v9 + 286) = -21896;
v9[574] = -16;
CCTextInputNode::refreshLabel((__int64)v9);
*((_DWORD *)v9 + 142) = 1056964608;
CCTextInputNode::refreshLabel((__int64)v9);
sub_14003D310((__int64)a4);
return v9;
}