//
// AccountLoginLayer::createTextInput from 0x5863d8 to 0x586470 (152 bytes)
//
// 2 xrefs:
// > AccountLoginLayer::init @ 0x5876d4
// > AccountLoginLayer::init @ 0x58781a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:52:58 +0000
//
int *__fastcall AccountLoginLayer::createTextInput(int a1, int a2, int a3, char *a4, int a5)
{
int v6; // r5
int *v7; // r4
int v8; // r3
int v10; // [sp+Ch] [bp-4h]
HIBYTE(v10) = HIBYTE(a4);
v6 = a1 + 440;
v7 = CCTextInputNode::create(
*(CCTextInputNode **)a3,
*(float *)(a3 + 4) + 10.0,
a4,
"Thonburi",
(const char *)&dword_18,
"bigFont.fnt",
(const char *)a3);
(*(void (__fastcall **)(_DWORD, int *, int))(**(_DWORD **)(v6 + 20) + 232))(*(_DWORD *)(v6 + 20), v7, 20);
CCTextInputNode::setMaxLabelScale((unsigned int)v7, 0.8);
v8 = *v7;
v7[105] = v6;
(*(void (__fastcall **)(int *, int))(v8 + 36))(v7, a5);
(*(void (__fastcall **)(int *, int))(*v7 + 92))(v7, a2);
(*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v7[104] + 172))(v7[104], 0);
LOWORD(v10) = -21896;
BYTE2(v10) = -16;
CCTextInputNode::setLabelPlaceholderColor((unsigned int)v7, v10);
CCTextInputNode::setLabelPlaceholderScale((unsigned int)v7, 0.5);
return v7;
}