//
// AccountLoginLayer::createTextInput from 0x99021c to 0x990320 (260 bytes)
//
// 3 xrefs:
// > AccountLoginLayer::init @ 0x991ad0
// > AccountLoginLayer::init @ 0x991c34
// > ??> @ 0xcc220
//
// 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 AccountLoginLayer::createTextInput(
__int64 a1,
__int64 a2,
float *a3,
CCTextInputNode *a4,
const char *a5)
{
__int64 v6; // x20
__int64 v7; // x19
unsigned int v9; // [xsp+38h] [xbp+38h]
int v10; // [xsp+48h] [xbp+48h]
v9 = (unsigned int)a5;
v6 = a1 + 544;
v7 = CCTextInputNode::create(a4, *a3, a3[1] + 10.0, "Thonburi", (const char *)&off_18, "bigFont.fnt", a5);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(v6 + 40) + 464LL))(*(_QWORD *)(v6 + 40), v7, 20);
CCTextInputNode::setMaxLabelScale((CCTextInputNode *)v7, 0.8);
*(_QWORD *)(v7 + 584) = v6;
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v7 + 72LL))(v7, v9);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v7 + 184LL))(v7, a2);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v7 + 576) + 344LL))(*(_QWORD *)(v7 + 576), 0);
LOWORD(v10) = -21896;
BYTE2(v10) = -16;
CCTextInputNode::setLabelPlaceholderColor(v7, v10);
CCTextInputNode::setLabelPlaceholderScale((CCTextInputNode *)v7, 0.5);
return v7;
}