//
// sub_10014EEEC from 0x10014eeec to 0x10014ef40 (84 bytes)
//
// 2 xrefs:
// > sub_10014E8BC @ 0x10014e9cc
// > sub_10014EA34 @ 0x10014ea3c
//
// 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:59:38 +0000
//
__int64 __fastcall sub_10014EEEC(__int64 a1)
{
_QWORD *v2; // x1
_QWORD *v3; // x8
sub_10014DE98(*(_QWORD *)a1, *(_QWORD **)(a1 + 16));
v2 = *(_QWORD **)(a1 + 8);
if ( v2 )
{
v3 = (_QWORD *)v2[2];
if ( v3 )
{
do
{
v2 = v3;
v3 = (_QWORD *)v3[2];
}
while ( v3 );
*(_QWORD *)(a1 + 8) = v2;
}
sub_10014DE98(*(_QWORD *)a1, v2);
}
return a1;
}