//
// AccountRegisterLayer::createTextInput from 0x98f840 to 0x98f95c (284 bytes)
//
// 6 xrefs:
// > AccountRegisterLayer::init @ 0x990cac
// > AccountRegisterLayer::init @ 0x990ee4
// > AccountRegisterLayer::init @ 0x991040
// > AccountRegisterLayer::init @ 0x9911a0
// > AccountRegisterLayer::init @ 0x9912ec
// > ??> @ 0x7cc60
//
// This function is hookable on this platform (idp: arm, 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:57:58 +0000
//
__int64 __fastcall AccountRegisterLayer::createTextInput(
__int64 a1,
__int64 a2,
float *a3,
CCTextInputNode *this,
const char *a5)
{
CCTextInputNode *v6; // x5
__int64 v7; // x20
__int64 v8; // x19
unsigned int v10; // [xsp+38h] [xbp+38h]
int v11; // [xsp+48h] [xbp+48h]
v6 = (CCTextInputNode *)((char *)this + 1);
if ( (*(_BYTE *)this & 1) != 0 )
v6 = *((CCTextInputNode **)this + 2);
v10 = (unsigned int)a5;
v7 = a1 + 544;
v8 = CCTextInputNode::create(v6, *a3 - 20.0, a3[1] + 10.0, "Thonburi", (const char *)&off_18, "bigFont.fnt", a5);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(v7 + 40) + 464LL))(*(_QWORD *)(v7 + 40), v8, 20);
CCTextInputNode::setMaxLabelScale((CCTextInputNode *)v8, 0.8);
*(_QWORD *)(v8 + 584) = v7;
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v8 + 72LL))(v8, v10);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v8 + 184LL))(v8, a2);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v8 + 576) + 344LL))(*(_QWORD *)(v8 + 576), 0);
LOWORD(v11) = -21896;
BYTE2(v11) = -16;
CCTextInputNode::setLabelPlaceholderColor(v8, v11);
CCTextInputNode::setLabelPlaceholderScale((CCTextInputNode *)v8, 0.5);
return v8;
}