//
// sub_14060B340 from 0x14060b340 to 0x14060b3ac (108 bytes)
//
// 3 xrefs:
// > UIPOptionsLayer::init @ 0x1403abbea
// > TouchControlEditLayer::create @ 0x140452388
// > ??> @ 0x14092fb28
//
// 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:35:14 +0000
//
__int64 __fastcall sub_14060B340(__int64 a1)
{
__int64 v2; // rax
__int64 result; // rax
v2 = (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 584) + 472LL))(*(_QWORD *)(a1 + 584), 1);
if ( v2 )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v2 + 336LL))(v2, 0);
result = (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 584) + 472LL))(*(_QWORD *)(a1 + 584), 3);
if ( result )
return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)result + 336LL))(result, 0);
return result;
}