//
// sub_10008A938 from 0x10008a938 to 0x10008aa34 (252 bytes)
//
// 5 xrefs:
// > AccountRegisterLayer::init @ 0x100089b24
// > AccountRegisterLayer::init @ 0x100089d34
// > AccountRegisterLayer::init @ 0x100089e74
// > AccountRegisterLayer::init @ 0x100089fbc
// > AccountRegisterLayer::init @ 0x10008a0f0
//
// 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 10:58:20 +0000
//
__int64 __fastcall sub_10008A938(__int64 a1, __int64 a2, float *a3, __int64 *a4, __int64 a5)
{
__int64 *v6; // x8
__int64 v9; // x22
__n128 v10; // q0
v6 = a4;
if ( *((char *)a4 + 23) < 0 )
v6 = (__int64 *)*a4;
v9 = CCTextInputNode::create(v6, "Thonburi", 24, "bigFont.fnt", *a3 + -20.0, a3[1] + 10.0);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 584) + 464LL))(*(_QWORD *)(a1 + 584), v9, 20);
v10 = CCTextInputNode::setMaxLabelScale(v9, 0.8);
*(_QWORD *)(v9 + 584) = a1 + 544;
(*(void (__fastcall **)(__int64, __int64, __n128))(*(_QWORD *)v9 + 72LL))(v9, a5, v10);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v9 + 184LL))(v9, a2);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v9 + 576) + 344LL))(*(_QWORD *)(v9 + 576), 0);
CCTextInputNode::setLabelPlaceholderColor(v9, 15772280);
CCTextInputNode::setLabelPlaceholderScale(v9, 0.5);
return v9;
}